mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
added configuration for fast-cgi server running php-cgi daemon forked by lighttpd
This commit is contained in:
parent
f6429cd241
commit
696917d50d
2 changed files with 12 additions and 0 deletions
11
piratebox/piratebox/conf/lighttpd/fastcgi.conf
Normal file
11
piratebox/piratebox/conf/lighttpd/fastcgi.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
#-------------------- FAST CGI stuff
|
||||
|
||||
server.modules += ( "mod_fastcgi" )
|
||||
fastcgi.server = (
|
||||
".php" => ((
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"socket" => "/tmp/php.socket",
|
||||
"max-procs" => 1
|
||||
))
|
||||
)
|
||||
|
|
@ -106,3 +106,4 @@ $HTTP["useragent"] =~ "CaptiveNetworkSupport" {
|
|||
server.error-handler-404 = "/success.html"
|
||||
}
|
||||
|
||||
include "/opt/piratebox/conf/lighttpd/fastcgi.conf
|
||||
|
|
Loading…
Reference in a new issue