Hey I'm looking for something similar to .htaccess stuff: Code: RemoveType application/x-httpd-php php AddType text/html php Basically i want to disable PHP in folder.. Edit: Removed bunch of crap that didn't work..
Maybe something like this works (for the folder files): Code: $HTTP["url"] =~ "^/files($|/)" { fastcgi.server = ( ".php" => (( "bin-path" => "", "socket" => "" ))) }
Tried similar to your idea and none work. It just disables whole page. No error shown in FF just "Problem loading page".