Make PHP settings conditional as my private server does not run mod_php4.
authorshort <>
Fri, 26 Sep 2003 09:03:31 +0000 (09:03 +0000)
committershort <>
Fri, 26 Sep 2003 09:03:31 +0000 (09:03 +0000)
.htaccess

index f815410..d440283 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -20,9 +20,11 @@ AddHandler cgi-script .cgi
 IndexOptions NameWidth=*
 AddType application/x-rpm .rpm
 AddType application/x-nokia-9000-communicator-add-on-software .aos
-php_flag short_open_tag off
-php_flag magic_quotes_gpc off
-php_flag magic_quotes_runtime off
+<IfModule mod_php4.c>
+       php_flag short_open_tag off
+       php_flag magic_quotes_gpc off
+       php_flag magic_quotes_runtime off
+</IfModule>
 
 <Files "kocky">
        RewriteEngine on