Page 1 of 1

htaccess file with php_flag

Posted: Mon Nov 23, 2009 3:24 pm
by hanno
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.

Re: htaccess file with php_flag

Posted: Mon Nov 23, 2009 3:33 pm
by garvinhicking
Hi!

noted, thanks!

Re: htaccess file with php_flag

Posted: Tue Dec 08, 2009 2:55 pm
by garvinhicking
Hi!

Committed!

Regards,
Garvin