-
-
Save anonymous/23b1675dc43af7e66422b998d75d6384 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.document-root = "/opt/share/www/" | |
server.port = 80 | |
dir-listing.encoding = "utf-8" | |
server.dir-listing = "enable" | |
mimetype.assign = ( | |
".html" => "text/html", | |
".txt" => "text/plain", | |
".jpg" => "image/jpeg", | |
".png" => "image/png" | |
) | |
server.modules = ( | |
"mod_access", | |
"mod_fastcgi", | |
"mod_alias", | |
"mod_auth", | |
"mod_evasive", | |
"mod_redirect", | |
"mod_rewrite", | |
"mod_setenv", | |
"mod_usertrack", | |
) | |
url.rewrite-once = ( | |
"/(css|files|img|js|php)/(.*)" => "/$1/$2", | |
"^([^\?]*)(\?(.+))?$" => "/index.php?url=$1&$3" // to take care of cakePHP | |
) | |
fastcgi.server = ( ".php" => (( | |
"bin-path" => "/opt/bin/php-cgi", | |
"socket" => "/opt/tmp/php.socket", | |
"max-procs" => 1, | |
"bin-environment" => ( | |
"PHP_FCGI_CHILDREN" => "16", | |
"PHP_FCGI_MAX_REQUESTS" => "10000" | |
), | |
"broken-scriptfilename" => "enable" | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment