[Buildbot-devel] [feature request] Support for baseurl on Waterfall

Brian Warner warner-buildbot at lothar.com
Sat Jun 18 03:05:00 UTC 2005


>     Yes and I seted it. But it doesnt work.
> 
>     Look at: http://projects.ossystems.com.br/builds/python-cdd

Ah, I think it's one of those trailing-slash-or-not problems. The Twisted
buildbot lives at 'http://twistedmatrix.com/buildbot/' (note the slash),
while yours lives at a trailing-slash-less URL. This is one of those issues
in web site development that's always thrown me.

I think that for a relative URL like "changes" (or even "./changes"), the
base URL *must* end with a slash. Does anyone know a relative URL that could
get from Otavio's page to ".../python-cdd/changes"? We can change it use
absolute URLs for everything, but my instinct is to try to stick to relative
ones. I'm happy to be told otherwise, however.

Try setting up your proxy to map slash-terminal URLs and see if that helps.
I'm not familiar with the apache proxy config syntax, but you want
'http:.../python-cdd/' to map to 'http://localhost:8010/'. There is code in
the root page (html.StatusResource) to handle non-terminal-slash pages by
redirecting you to the with-terminal-slash version, but I don't know what
that will do in the face of a URL-rewriting proxy.

uncertain,
 -Brian




More information about the devel mailing list