summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/lighttpd/tweakconf.vim
blob: 7e55ee3f6c2c5c4de21f1e049cbdd1791ecec605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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