Guest User

Untitled

a guest
Mar 6th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
IDL 1.00 KB | None | 0 0
  1. server.document-root        = "/var/www"
  2. server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
  3. server.errorlog             = "/var/log/lighttpd/error.log"
  4. server.pid-file             = "/var/run/lighttpd.pid"
  5. server.username             = "www-data"
  6. server.groupname            = "www-data"
  7.  
  8. index-file.names            = ( "index.php", "index.html" )
  9.  
  10. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  11.  
  12. dir-listing.encoding        = "utf-8"
  13. server.dir-listing          = "enable"
  14.  
  15. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  16. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  17.  
  18. fastcgi.server = ( ".php" => ((
  19.         "bin-path" => "/usr/bin/php5-cgi",
  20.         "socket" => "/tmp/php.socket",
  21.         "max-procs" => 1,
  22.         "bin-environment" =>
  23.                 ( "PHP_FCGI_CHILDREN" => "1",
  24.                 "PHP_FCGI_MAX_REQUESTS" => "100" ),
  25.         "bin-copy-environment" => ( "PATH", "SHELL", "USER" ),
  26.         "broken-scriptfilename" => "enable" ))
  27. )
Add Comment
Please, Sign In to add comment