]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - lighttpd.conf.example
More info for a proper, fancy-url lighttpd setup
[quix0rs-gnu-social.git] / lighttpd.conf.example
1 # if you're using vhosts, you should have per-vhost server.document-root settings too
2 #$HTTP["host"] =~ "^your\.domain\.com$" {
3     # NOTE: fastcgi/cgi/fpm config here if you're using per-user cgi/fpm
4
5     dir-listing.activate = "disable"
6     url.rewrite-once = (
7         "^/(.*)\.(.*)" => "$0",
8         "^/(avatar|file|js|plugins|theme)/" => "$0",
9         "^/(.+)$" => "/index.php/$1",
10         )
11
12     # Add this line to lighttpd.conf to enable pseudo-rewrites using 404s
13     # (required for fancy URLs)
14     server.error-handler-404 = "/index.php"
15 #}
16