Menu

#1 automatic directory index pages?

open
nobody
None
5
2001-04-19
2001-04-19
No

In 1.1.25, process-entity(http-request
directory-entity) just gives up if there is not already
an index.html or index.htm physically in the
directory.I wrote some code which generates an index
page automatically for a directory-entity in such
cases. This is similar to what Apache et al do. My
approach was at this point to build a page from the
REALNAME and publish it as a computed entity/page. I
don't know whether that is really consistent with
everything else in aserve, but it does make it work
correctly for directory updates.

For the long term, it seems to me that it should be
configured as an option (keyword) to publish-directory;
right now I have a global variable which controls.

I think I read in the docs that upgrades to
publish-directory are envisioned, and my code is not
ready for prime time. I'm new to sourceforge so won't
attach the code yet.

But I might further refined it and submit it if
development in this area could take advantage. Any
advice?

Thanks,
Andrew

Discussion


Log in to post a comment.