summaryrefslogtreecommitdiff
path: root/lighttpd/README
blob: 0acea52865bcaaeaaf33d9242e1cdd8f70782fb9 (plain)
    1 REQUIREMENTS
    2 
    3 PRE-INSTALL
    4 
    5 POST-INSTALL
    6 
    7 lighttpd runs as a different user ('lighttpd') by default for security reasons.
    8 Do the following after installing the port:
    9 
   10   useradd -s /bin/false lighttpd
   11   groupadd lighttpd
   12   touch /var/www/logs/access_log
   13   touch /var/www/logs/error_log
   14   chown lighttpd:lighttpd /var/www/logs/*
   15 
   16 If you wish to enable SSL support, uncomment the relevant lines in 
   17 /etc/lighttpd.conf and generate a self-signed certificate:
   18 
   19   openssl req -new -x509 \
   20   -keyout /etc/ssl/certs/lighttpd.pem -out /etc/ssl/certs/lighttpd.pem \
   21   -days 365 -nodes
   22 
   23 PRECAUTION
   24 
   25 As of lighttpd 1.4.23 spawn-fcgi was removed and is now provided as a separate
   26 project at http://redmine.lighttpd.net/projects/spawn-fcgi

Generated by cgit