Thanks Andrew. I configured lighttpd accordingly, but I kept running
into a parsing error until I realized that I needed to comment out an
include, like so:
#include_shell "/usr/share/lighttpd/create-mime.assign.pl"
This solved the mime.assign problem, and everything seems to be working
now. You can see it for yourself at
http://tuxnet-opti980.main.usu.edu/mirrors/torproject.org/
This should conclude things. I got a bit confused by the CSV file, but
here's the information that it's after:
adminContact: jvictors(at)jessevictors(dot)com
orgName: Utah State University
isoCC: US
subRegion: Utah (is this what this is asking for?)
region: United States (is this right?)
ipv4: TRUE
ipv6: FALSE
loadBalanced: NO
httpWebsiteMirror:
http://tuxnet-opti980.main.usu.edu/mirrors/torproject.org/
httpsWebsiteMirror:
rsyncWebsiteMirror:
ftpWebsiteMirror:
httpDistMirror:
http://tuxnet-opti980.main.usu.edu/mirrors/torproject.org/dist/
httpsDistMirror:
rsyncDistMirror:
hiddenServiceMirror: http://lezi3rwszml5o4zj.onion/mirrors/torproject.org/
updateDate: (not sure what to put here)
I may update these values in the future if I add additional types of
mirrors, but for now that's the information. The website doesn't show
all of these values, so I'm not sure what some of them mean or their
implications.
Feel free to add this to the CSV file and the website if I have the
values right.
All the best,
Jesse V.
On 05/13/2014 04:00 AM, tor-mirrors-request(a)lists.torproject.org wrote:
> 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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
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?
Jesse V.
On 05/12/2014 04:00 AM, tor-mirrors-request(a)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/
iQF8BAEBCgBmBQJTcO3HXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMjgyMjhENjEyODQ1OTU1NzBCMjgwRkFB
RDk3MzY0RkMyMEJFQzgwAAoJEK2XNk/CC+yAGvwIAKZ6OaiJWznHfoX+Ij7Aa7jC
xVQ6cl0dOCm5IAQmyIiX17glX8HMSxWZirBUUXaziLRJhrYD8pcjkv+vde7WB2ux
kYnvErUmjhs7NkqWJuecYv6yieJoLCShTA4Eiy78w5AKcrypWnXv/DKEGOmXGCXz
aZFKZwtHWs6eXMLlIQcEvyYyqV7ImeNsKdDd3+1+BhiRBXRNY1i70LK3YKfKEKJa
19XYJcQeTrYG8g8kRcyQSu3chR6A/gvrPFR0KO6xize8QCUMxFfCwmce/ezgYX+1
WPof1wIV1vN4nEPAEFEVmEsVfhicox7pDZiPLyBRSChIshjTJ/NUY+Tl+9jxfvU=
=HFJF
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello everyone,
I just set up a mirror of torproject.org. I have it hosted via lighttpd
on a gigabit connection. I've rsynced it and set up a cronjob to resync
every two hours. The mirror is available at
http://tuxnet-opti980.main.usu.edu/mirrors/torproject.org and as you can
see from http://tuxnet-opti980.main.usu.edu/mirrors/torproject.org/dist
I've got lighttpd to serve a directory list of dist/ as well.
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?
Should I also set up a rsync server? How complicated is that and what
needs to be done to secure things? I've got other things on this
machine, including a non-exit relay, that I don't want rsynced.
All the best,
Jesse V.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQF8BAEBCgBmBQJTb82aXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMjgyMjhENjEyODQ1OTU1NzBCMjgwRkFB
RDk3MzY0RkMyMEJFQzgwAAoJEK2XNk/CC+yATyoH/RkkpIBQoydCB4GW3V6ayggs
9UMFFwIupodLbV1vTdbQuzyCfXDsiAl9M9GxPsH+36TX6eMlhbDtGDxh0P4P4oxn
6NCZKtBNuSjQBYWDaDRG7JaAMz8y+u7Rng7URZJ7WqqId3kfA8LttViuhvdX1/wN
3K4ZYYJngCAARtUcD1h995tQj/gFZKcmjcusghuD4dKAv6AMuEo17D+oOLmThLuR
HU2X67WWujcO6NOriPw7ycGT7JiL1qi5FsXARoSm2QiDlkJ7JRLFuXfwNxwr3eDj
mCFes9wbLBufZyd20ppT+2vNbR1LpMJtuWlWokrS10vhOggVO2x2FF/bvDb0zT0=
=R2kO
-----END PGP SIGNATURE-----
Hello, I have a mirror I would like to add at http://alebcay.tk:8080 located in North Carolina, United States. I know there's a CSV format that I should make the submission in, but I'm not sure what it is. Could somebody post the correct format?
Also, I just found out about MirrorBrain (http://mirrorbrain.org/), a GPL software that automates load balancing for download mirrors. I'm not sure if the software has been considered before (sometimes users will have to manually choose a download location due to censorship, but it would be useful for helping select the most geographically appropriate server).
Thanks,
Caleb Xu
Don't know why, but fact is its online. :)
So do it back on list, please.
Greets
Marcel
Andrew Lewman <andrew(a)torproject.is> schrieb:
>On Wed, May 07, 2014 at 12:31:10PM +0200, kiro(a)userzap.de wrote 1.2K bytes in 0 lines about:
>: is there a reason why my mirror torprojekt.userzap.de is not longer
>: listed at the site?
>
>Yes. On the last run of the script your mirror returns:
>
>GET http://torprojekt.userzap.de/project/trace/www-master.torproject.org: 500
>
>--
>Andrew
>pgp 0x6B4D6475
>_______________________________________________
>tor-mirrors mailing list
>tor-mirrors(a)lists.torproject.org
>https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors
Hello everyone,
I started a new mirror in Poland. It is available at the following
addresses:
torproject.iv.net.pl
tor.iv.net.pl
esbek.iv.net.pl
Http connections are automatically redirected to https.
--
Sebastian M. Bobrecki
Hi Andrew
Stopped the server on April 30 to configure certificate site, https://tor.zilog.es and increasing the communications line 120M/12M
Sorry and Thnks.
> ----- Mensaje original -----
> De: Andrew Lewman
> Enviado: 04-05-14 06:32
> Para: mirroring the tor website and distribution directory
> Asunto: Re: [tor-mirrors] Update TorProject Mirror
>
> On Sat, May 03, 2014 at 06:38:40PM +0200, haskell(a)gmx.es wrote 1.6K bytes in 0 lines about:
> : Not working "rsync://mirrors.linsrv.net/pub/torproject/"? Since 01/May/2014.
>
> Not sure why you would be using that link at all.
>
> : Moreover, my mirror has disappeared, tor.zilog.es
>
> Seemed last reachable on Wed Apr 30 13:50:52 2014
>
> --
> Andrew
> pgp 0x6B4D6475
> _______________________________________________
> tor-mirrors mailing list
> tor-mirrors(a)lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors