htaccess file with php_flag

Found a bug? Tell us!!
Post Reply
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

htaccess file with php_flag

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: htaccess file with php_flag

Post by garvinhicking »

Hi!

noted, thanks!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: htaccess file with php_flag

Post by garvinhicking »

Hi!

Committed!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply