[tor-mirrors] tor-mirrors Digest, Vol 36, Issue 9

Andrew Lewman andrew at torproject.is
Mon May 12 17:13:02 UTC 2014


On Mon, May 12, 2014 at 07:50:31AM -0800, jvictors at jessevictors.com wrote 2.0K bytes in 0 lines about:
: Because https://www.torproject.org/docs/running-a-mirror.html.en lists
: it as a requirement, the main reason being is that the pages all have
: .en extensions, so the main index is index.html.en. This means that by

Ok, time to update that. Our site is English only, multiviews aren't
used anymore. Lighttpd cannot do multiviews, that I know of, it's part
of the goal of being a light httpd server.

Just add html.en to your lighttpd config as an index file, like this:

index-file.names = ( "index.html.en" )
mimetype.assign = ( 
        ".html.en" => "text/html",
        ".css" => "text/css" )


-- 
Andrew
pgp 0x6B4D6475


More information about the tor-mirrors mailing list