htaccess file with php_flag
Posted: Mon Nov 23, 2009 3:24 pm
There's a htaccess file in the serendipity source (part of htmlarea) that contains a php_flag call.
The problem with that is that if you don't use mod_php (e.g. php through mod_fastcgi), this will result in an apache error. The common way to handle this is to put ifmodule around it. If you use fastcgi with htscanner (a php extension to still allow php_-options in htaccess), it will ignore the ifmodule lines, so everything will still work smoothly.
See this patch:
http://files.hboeck.de/serendipity-ifmodule.diff
Would be nice if this could be applied before 1.5.
The problem with that is that if you don't use mod_php (e.g. php through mod_fastcgi), this will result in an apache error. The common way to handle this is to put ifmodule around it. If you use fastcgi with htscanner (a php extension to still allow php_-options in htaccess), it will ignore the ifmodule lines, so everything will still work smoothly.
See this patch:
http://files.hboeck.de/serendipity-ifmodule.diff
Would be nice if this could be applied before 1.5.