[tor-mirrors] tor-mirrors Digest, Vol 36, Issue 9
jvictors at jessevictors.com
Mon May 12 15:50:31 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
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
default lighttpd doesn't recognize that file as a valid index and
returns a 404 whenever someone visits the root directory. Visiting the
pages manually causes it to be downloaded rather than viewed. I guess
lighttpd could rewrite the requests for *.html.en to *.html, or return
.en as html/text, but I don't think that's what "Multiviews" means as
far as I know. Tips would be appreciated.
So again, can this multiview functionality be accomplished under
lighttpd, and if so, what do I need to change in the config file?
On 05/12/2014 04:00 AM, tor-mirrors-request at lists.torproject.org wrote:
> : While this meets most of the requirements, I still need to offer
> : "Multiviews" or some sort of language support URL rewrite in order to
> : meet the last requirement. Any tips on how to do that in lighttpd?
> Why do you think you need to do this?
> -- Andrew pgp 0x6B4D6475
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the tor-mirrors