X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=.htaccess;h=1c77df30d7e6a67dc04e9a11c64632de431f155f;hp=3847e70629da989ae165b81e032a44a0b4d5928a;hb=0fe7d3a2caae8d256406209020ee8a160cc04faf;hpb=40e5acacf037bc97c69e25aeae2bfbf14f77c7ec diff --git a/.htaccess b/.htaccess index 3847e70..1c77df3 100644 --- a/.htaccess +++ b/.htaccess @@ -23,7 +23,8 @@ php_flag engine off RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo # code execution exception: allow only /wfpl_main.php # matches regardless of directory/path, so rewrite php in subdirs -RewriteRule ^.*/.*\.php$ - [L,R=404] +RewriteRule ^wfpl_main\.php$ - [L] +RewriteRule .*\.php$ - [L,R=404] php_flag engine on SetHandler application/x-httpd-php