lighttpd
This is an old revision of the document!
Per qualche mese ho usato questo server web in locale sul Ubuntu per lavorare sull mia dokuWiki e per poi sincronizzarla con quella che gira sotto FreeBSD/nginx su firminmaillard.org
Questo era il file di configurazione:
francesco@X280:~$ cat /etc/lighttpd/lighttpd.conf server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", ) #server.document-root = "/var/www/html" server.document-root = "/var/www/dokuwiki" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 80 index-file.names = ( "index.php", "index.html", "index.lighttpd.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) # default listening port for IPv6 falls back to the IPv4 port ## Use ipv6 if available #include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port # Commentato da me #include_shell "/usr/share/lighttpd/create-mime.assign.pl" # e sostituito con: include_shell "/usr/share/lighttpd/create-mime.conf.pl" # Commentato da me in base a quanto sotto # include_shell "/usr/share/lighttpd/include-conf-enabled.pl" # WARNING: include-conf-enabled.pl is deprecated and slated for removal. # Replace in lighttpd.conf with: include "/etc/lighttpd/conf-enabled/*.conf"
lighttpd.1572103873.txt.gz · Last modified: 2019/10/26 17:31 by francesco