aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www
diff options
context:
space:
mode:
Diffstat (limited to 'data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www')
-rw-r--r--data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www46
1 files changed, 23 insertions, 23 deletions
diff --git a/data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www b/data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www
index d23c12ce..0dd16c94 100644
--- a/data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www
+++ b/data/sisu/v2/conf/lighttpd/lighttpd.cfg.sisu_www
@@ -1,15 +1,15 @@
# lighttpd configuration file
-#
+#
# use a it as base for lighttpd 1.0.0 and above
#
#%% Options you really have to take care of
-#%
+#%
# modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
-server.dir-listing = "disable"
+server.dir-listing = "disable"
server.modules = ( "mod_rewrite",
"mod_access",
"mod_fastcgi",
@@ -17,14 +17,14 @@ server.modules = ( "mod_rewrite",
"mod_accesslog")
#%% a static document-root, for virtual-hosting take look at the
#% server.virtual-* options
-server.document-root = "/home/[user home]/sisu_www/"
-#server.document-root = "/home/*username*/web/public/"
+server.document-root = "/home/[user home]/sisu_www/"
+#server.document-root = "/home/*username*/web/public/"
## 'Parent' domain on any server except davie.
-#server.document-root = "/home/*username*/public_html/"
-##'Parent' domain for those of you currently on davie.textdrive.com, and all future servers.
+#server.document-root = "/home/*username*/public_html/"
+##'Parent' domain for those of you currently on davie.textdrive.com, and all future servers.
#server.document-root = "/home/*username*/web/public/"
#% where to send error-messages to
-server.errorlog = "/home/[*username*]/var/lighttpd/log/lighttpd.error.log"
+server.errorlog = "/home/[*username*]/var/lighttpd/log/lighttpd.error.log"
#% files to check for if .../ is requested
server.indexfiles = ( "index.php", "index.html",
"index.htm", "index.rb")
@@ -56,13 +56,13 @@ mimetype.assign = (
".odt" => "application/vnd.oasis.opendocument.text",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
- ".tar.bz2" => "application/x-bzip-compressed-tar"
+ ".tar.bz2" => "application/x-bzip-compressed-tar"
)
# text/x-server-parsed-html
#%Server ID Header
-server.tag = "lighttpd | TextDriven"
+server.tag = "lighttpd | TextDriven"
#%### accesslog module
-accesslog.filename = "/home/[*username*]/var/lighttpd/log/access_log"
+accesslog.filename = "/home/[*username*]/var/lighttpd/log/access_log"
#% deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
@@ -76,16 +76,16 @@ server.port = 8111
#server.port = 8111
#server.port = 8965
##% bind to localhost (default: all interfaces)
-server.bind = "localhost"
-#server.bind = "corundum"
-##server.bind = "grisu.home.kneschke.de"
+server.bind = "localhost"
+#server.bind = "corundum"
+##server.bind = "grisu.home.kneschke.de"
##% to help the rc.scripts
-server.pid-file = "/home/[*username*]/var/lighttpd/run/lighttpd.pid"
+server.pid-file = "/home/[*username*]/var/lighttpd/run/lighttpd.pid"
#$HTTP["host"] =~ "\.corundum\.(name|com|net|org)" {
$HTTP["host"] == "localhost" {
- server.document-root = "/home/[*username*]/sisu_www/"
- server.errorlog = "/home/[*username*]/var/lighttpd/log/lighttpd-error.log"
- accesslog.filename = "/home/[*username*]/var/lighttpd/log/access_log"
+ server.document-root = "/home/[*username*]/sisu_www/"
+ server.errorlog = "/home/[*username*]/var/lighttpd/log/lighttpd-error.log"
+ accesslog.filename = "/home/[*username*]/var/lighttpd/log/access_log"
url.rewrite-repeat = (
"^.*/$" => "index.html",
"^(.*/(landscape|portrait))$" => "$1.pdf",
@@ -93,7 +93,7 @@ $HTTP["host"] == "localhost" {
"^(.*/(sax|dom))$" => "$1.xml",
"^([^.]+)$" => "$1.html"
)
- server.error-handler-404 = "/dispatch.fcgi"
+ server.error-handler-404 = "/dispatch.fcgi"
# fastcgi.server = ( ".fcgi" =>
# ( "localhost" =>
# (
@@ -105,11 +105,11 @@ $HTTP["host"] == "localhost" {
# )
# )
# )
-}
+}
#% change uid to <uid> (default: don't care)
-server.username = "[*username*]"
+server.username = "[*username*]"
#% change uid to <uid> (default: don't care)
-server.groupname = "[*username*]"
+server.groupname = "[*username*]"
#%## compress module
-compress.cache-dir = "/home/[*username*]/var/lighttpd/cache/compress/"
+compress.cache-dir = "/home/[*username*]/var/lighttpd/cache/compress/"
compress.filetype = ("text/plain", "text/html")