Sharing repository through a read-only web server
Adeodato Simó
dato at net.com.org.es
Mon Nov 12 16:20:54 GMT 2007
* Ben Gerdemann [Mon, 12 Nov 2007 16:14:46 +0000]:
> This webserver happens to return a html error page instead of the normal 403,
> 404, etc. numbered errors when a file doesn't exist. Could that be what is
> confusing Bazaar? If this is the problem, would there be a way to work around
> this? (Unfortunately, I don't have access to reconfigure the web server.... :()
Independently of whether they returrn a pretty html or not on errors,
web servers always include a return code, which is what Bazaar looks at.
For files that don't exist, it should be returning 404, not 403. If
you're in a Linux system, you can check what is returning with:
% HEAD http://myserver/foo/bar
or
% wget -O /dev/null http://myserver/foo/bar
The first or last line of output, respectively, contain the code.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
So!, So. First day, Yes. Scary, Yes. Don't be scared, Well I'm not really
scared. You should be, Well I am a little bit scared. Well don't be, Make up
your mind!
-- Denholm, Jen. The IT Crowd.
More information about the bazaar
mailing list