mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2026-12-05 16:58:40 +00:00
Follow Up commit to 6c2c691b40
This commit is contained in:
1 parent
5cc3d685aa
commit
6a59bdc2ea
2 files changed
+26
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#-------------------- FAST CGI stuff
|
||||
|
||||
# Run a specific php script when the URL /generate_204 is requested.
|
||||
# Android clients request this URL to check for a full working
|
||||
# internet connection, we want to fake a reply. This config section is
|
||||
# a hack to make a php script without the ".php" extension work when
|
||||
# mod_rewrite is not available.
|
||||
$HTTP["url"] =~ "^/generate_204$" {
|
||||
fastcgi.server = (
|
||||
"" => ((
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"socket" => "/tmp/php.socket",
|
||||
"max-procs" => 1
|
||||
))
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
#-------------------- FAST CGI stuff
|
||||
|
||||
fastcgi.server = (
|
||||
".php" => ((
|
||||
"bin-path" => "/usr/bin/php-cgi",
|
||||
"socket" => "/tmp/php.socket",
|
||||
"max-procs" => 1
|
||||
))
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user