summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/lighttpd/tweakconf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/lighttpd/tweakconf.vim')
-rw-r--r--abs/mv-core/lighttpd/tweakconf.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/mv-core/lighttpd/tweakconf.vim b/abs/mv-core/lighttpd/tweakconf.vim
new file mode 100644
index 0000000..7e55ee3
--- /dev/null
+++ b/abs/mv-core/lighttpd/tweakconf.vim
@@ -0,0 +1,22 @@
+%s/\/www\/logs\//\/var\/log\/lighttpd\/
+%s/lighttpd\.error/error/
+%s/\/www\/pages\//\/home\/lighttpd\/html\//
+%s/#server\.pid\-file/server.pid-file/
+%s/\/tmp\/lighttpd\/cache\/compress\//\/home\/lighttpd\/cache\/
+%s/^#server\.username.*$/server.username = "nobody"/
+%s/^#server\.groupname.*$/server.groupname = "nobody"/
+%s/\/usr\/local\/bin\/php/\/usr\/bin\/php-cgi/
+%s/\(vhost\.server-root.*=\).*$/\1 "\/home\/lighttpd\/vhosts\/"/
+/SSL engine/,/pem/d
+i
+#### SSL engine
+#$SERVER["socket"] == "0.0.0.0:443" {
+# ssl.engine = "enable"
+# ssl.pemfile = "/home/lighttpd/ssl/server.pem"
+# server.errorlog = "/var/log/lighttpd/error-ssl.log"
+# accesslog.filename = "/var/log/lighttpd/access-ssl.log"
+# server.document-root = "/home/lighttpd/html-ssl"
+#}
+.
+w
+q