On Sunday 18 September 2005 00:47, Lior Kaplan wrote: > Shlomi Fish wrote: > > Hi all! > > > > I set up webfs on Eskimo. It only serves /srv/mirror/ and is listening to > > port 14987, which is at the moment open. I can have it listen to > > localhost alone, or block 14987 on the firewall, but don't see too much > > point to it. > > > > Next I set up an Apache ProxyPass directive > > in /etc/apache/vhosts/mirror.iglu.org.il.conf: > > > > <<<< > > Alias / /srv/mirror/ > > # This is to make sure that the mirrored files are served using webfs. > > # webfs is a minimalistic web-server that supports large files. > > ProxyPass /pub/ http://localhost:14987/pub/ <------------- > > > > > > Note that I tweaked its default configuration during the apt-get stage, > > to hopefully make it scale more to our loads. But maybe it made things > > worse. > > > > In any case, it seems to be working. One of the tests ("curl -r 150-200") > > works perfectly through the proxy, and I'm testing the other one. > > (download of a large file). > > > > Comments? > > yes - why do we need this over apache?
Well, we need Apache so we can serve Perl, PHP, etc. content with virtual hosts and all the other things. webfs is a minimalistic web server that can only serve a single directory tree (not even CGI). We proxy it above Apache so it will also be served on port 80, which is the only port some Nazi firewalls allow to access, and also not to confuse the users with extra ports. Like I said, the Apache we have has problems with large files. It won't be fixed until Apache 2.1.x, and we need a solution beforehand. See: http://www.mail-archive.com/iglu-web%40iglu.org.il/msg01401.html Did it answer your question? Regards, Shlomi Fish --------------------------------------------------------------------- Shlomi Fish [EMAIL PROTECTED] Homepage: http://www.shlomifish.org/ 95% of the programmers consider 95% of the code they did not write, in the bottom 5%.
