aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts/lighty-vhosts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/vhosts/lighty-vhosts.conf')
-rw-r--r--config/vhosts/lighty-vhosts.conf179
1 files changed, 0 insertions, 179 deletions
diff --git a/config/vhosts/lighty-vhosts.conf b/config/vhosts/lighty-vhosts.conf
deleted file mode 100644
index b3178771..00000000
--- a/config/vhosts/lighty-vhosts.conf
+++ /dev/null
@@ -1,179 +0,0 @@
-#
-# lighttpd configuration file
-#
-# use a it as base for lighttpd 1.0.0 and above
-#
-############ Options you really have to take care of ####################
-
-## FreeBSD!
-server.event-handler = "freebsd-kqueue"
-server.network-backend = "writev" ## Fixes 7.x upload issues
-
-
-
-## modules to load
-server.modules = (
- "mod_accesslog",
- "mod_access", "mod_accesslog",
- "mod_fastcgi", "mod_cgi","mod_rewrite"
- )
-
-## Unused modules
-# "mod_setenv",
-# "mod_compress"
-# "mod_redirect",
-# "mod_rewrite",
-# "mod_ssi",
-# "mod_usertrack",
-# "mod_expire",
-# "mod_secdownload",
-# "mod_rrdtool",
-# "mod_auth",
-# "mod_status",
-# "mod_alias",
-# "mod_proxy",
-# "mod_simple_vhost",
-# "mod_evhost",
-# "mod_userdir",
-# "mod_cgi",
-# "mod_accesslog"
-
-## a static document-root, for virtual-hosting take look at the
-## server.virtual-* options
-server.document-root = "/usr/local/vhosts/"
-
-
-# Maximum idle time with nothing being written (php downloading)
-server.max-write-idle = 999
-
-## where to send error-messages to
-server.errorlog = "/var/log/lighttpd.error.log"
-
-# files to check for if .../ is requested
-server.indexfiles = ( "index.php", "index.html",
- "index.htm", "default.htm" )
-
-# mimetype mapping
-mimetype.assign = (
- ".pdf" => "application/pdf",
- ".sig" => "application/pgp-signature",
- ".spl" => "application/futuresplash",
- ".class" => "application/octet-stream",
- ".ps" => "application/postscript",
- ".torrent" => "application/x-bittorrent",
- ".dvi" => "application/x-dvi",
- ".gz" => "application/x-gzip",
- ".pac" => "application/x-ns-proxy-autoconfig",
- ".swf" => "application/x-shockwave-flash",
- ".tar.gz" => "application/x-tgz",
- ".tgz" => "application/x-tgz",
- ".tar" => "application/x-tar",
- ".zip" => "application/zip",
- ".mp3" => "audio/mpeg",
- ".m3u" => "audio/x-mpegurl",
- ".wma" => "audio/x-ms-wma",
- ".wax" => "audio/x-ms-wax",
- ".ogg" => "audio/x-wav",
- ".wav" => "audio/x-wav",
- ".gif" => "image/gif",
- ".jpg" => "image/jpeg",
- ".jpeg" => "image/jpeg",
- ".png" => "image/png",
- ".xbm" => "image/x-xbitmap",
- ".xpm" => "image/x-xpixmap",
- ".xwd" => "image/x-xwindowdump",
- ".css" => "text/css",
- ".html" => "text/html",
- ".htm" => "text/html",
- ".js" => "text/javascript",
- ".asc" => "text/plain",
- ".c" => "text/plain",
- ".conf" => "text/plain",
- ".text" => "text/plain",
- ".txt" => "text/plain",
- ".dtd" => "text/xml",
- ".xml" => "text/xml",
- ".mpeg" => "video/mpeg",
- ".mpg" => "video/mpeg",
- ".mov" => "video/quicktime",
- ".qt" => "video/quicktime",
- ".avi" => "video/x-msvideo",
- ".asf" => "video/x-ms-asf",
- ".asx" => "video/x-ms-asf",
- ".wmv" => "video/x-ms-wmv",
- ".bz2" => "application/x-bzip",
- ".tbz" => "application/x-bzip-compressed-tar",
- ".tar.bz2" => "application/x-bzip-compressed-tar"
- )
-
-# Use the "Content-Type" extended attribute to obtain mime type if possible
-#mimetypes.use-xattr = "enable"
-
-#### accesslog module
-#accesslog.filename = "/dev/null"
-
-## deny access the file-extensions
-#
-# ~ is for backupfiles from vi, emacs, joe, ...
-# .inc is often used for code includes which should in general not be part
-# of the document-root
-url.access-deny = ( "~", ".db" )
-
-
-######### Options that are good to be but not neccesary to be changed #######
-
-## bind to port (default: 80)
-server.port = 8001
-
-## error-handler for status 404
-#server.error-handler-404 = "/error-handler.html"
-#server.error-handler-404 = "/error-handler.php"
-
-## to help the rc.scripts
-server.pid-file = "/var/run/lighty-vhosts.pid"
-
-## virtual directory listings
-server.dir-listing = "disable"
-
-## enable debugging
-debug.log-request-header = "disable"
-debug.log-response-header = "disable"
-debug.log-request-handling = "disable"
-debug.log-file-not-found = "disable"
-
-#### compress module
-#compress.cache-dir = "/tmp/lighttpd/cache/compress/"
-#compress.filetype = ("text/plain", "text/html")
-
-#server.network-backend = "writev"
-
-server.upload-dirs = ( "/root/", "/tmp/", "/var/" )
-
-
-server.max-request-size = 2097152
-
-#### fastcgi module
-## read fastcgi.txt for more info
-fastcgi.server = ( ".php" =>
- ( "localhost" =>
- (
- "socket" => "/tmp/php5-fastcgi.socket",
- "min-procs" => 1,
- "max-procs" => 1,
- "idle-timeout" => 0,
- "bin-environment" => (
- "PHP_FCGI_MAX_REQUESTS" => "500",
- "PHP_FCGI_CHILDREN" => "1"
- ),
- "bin-path" => "/usr/local/php5/php-cgi"
- )
- )
-)
-
-#### CGI module
-cgi.assign = ( ".cgi" => "" )
-
-
-
-
-