[Buildbot-devel] jinja: user customization and public_html?
Dustin J. Mitchell
dustin at zmanda.com
Mon Dec 21 17:26:53 UTC 2009
On Mon, Dec 21, 2009 at 11:16 AM, Stefan Seefeld <seefeld at sympatico.ca> wrote:
> I understand, and agree. I haven't seen the particular change that makes
> index.html files not being served verbatim any longer, and wonder why it is
> needed. I added a change myself that would allow a templatized directory
> view, yet following the same semantics as before: as soon as an index.html
> file was present, that was served instead. Thus, any user customization was
> being respected.
I just tried again with the latest from marcusl's jinja branch. I
started up a fresh buildmaster, and verified that the root page being
rendered is built from the template (has the gradient background,
etc.). Then I created an index.html in my public_html directory, with
"Hello World" in it, and reloaded. Still the templated root page. I
created "index.txt" and accessed that at URL http://foo/index.txt, and
it worked fine. I can also access my "Hello World" page at
http://foo/index.html, but not at http://foo/.
So that's the problem -- if there's a non-default index.html file in
public_html, it should get displayed at the root URL. So this isn't
about index.html's in general, or subdirectories. It's very
specifically about the root URL.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
More information about the devel
mailing list