yazdmich

Untitled

Apr 27th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. server.modules = (
  2. "mod_access",
  3. "mod_alias",
  4. "mod_accesslog",
  5. "mod_auth",
  6. "mod_ssi",
  7. "mod_cgi",
  8. "mod_compress",
  9. "mod_fastcgi",
  10. "mod_rewrite",
  11. "mod_magnet",
  12. )
  13. server.document-root = "/var/www/www/"
  14.  
  15.  
  16. $HTTP["host"] == "i.bytes.coffee" {
  17. server.document-root = "/var/www/www/images/"
  18. }
  19.  
  20. server.port = 80
  21.  
  22. server.username = "www"
  23. server.groupname = "www"
  24.  
  25. mimetype.assign = (
  26. ".html" => "text/html",
  27. ".txt" => "text/plain",
  28. ".css" => "text/css",
  29. ".jpg" => "image/jpeg",
  30. ".png" => "image/png",
  31. ".pdf" => "application/pdf"
  32. )
  33.  
  34. static-file.exclude-extensions = ( ".conf", ".fcgi", ".php", ".rb", "~", ".inc" )
  35. index-file.names = ( "index.html" )
  36.  
  37. cgi.assign = ( ".py" => "" )
Advertisement
Add Comment
Please, Sign In to add comment