Limit PHP only to /content

#130
This commit is contained in:
Matthias Strubel 2016-05-12 18:15:11 +02:00
parent 975462157b
commit c3d68ab8d7
1 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,11 @@
#-------------------- FAST CGI stuff
fastcgi.server = (
".php" => ((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 1
))
)
$HTTP["url"] =~ "^/content/" {
fastcgi.server = (
".php" => ((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 1
))
)
}