[Mono-list] XSP default index files
Gonzalo Paniagua Javier
29 Dec 2002 15:19:34 +0100
El sáb, 21-12-2002 a las 13:15, Gaurav Vaish escribió:
> > Clarifying a bit more: IIS configures a ordered list of possible index
> > for a directory and all it's children, grandchildren, etc.... But the list
> > may be overriden in some subtree.
> > So the list of candidates for default page, should be backwardly searched
> > for, up to the site root directory.
> That's right.
> But I think currently, what Gonzalo wanted to do is to be able to
> directly read the web.config from the place where the server is installed.
> Now, there are a couple of things that can be done:
> - Have the IIS style, where we have "per directory" basis.
> - Have the Apache style where a single DocumentIndex is declared in
> Now, Apache style has several advantages, especially when the permission
> is given to all the users to have web presence ~gvaish/public_html or
> something like that. In that case, the admin has the rights to set the order
> of files.
> If we allow to have web.config for individual directory, it may lead to
> problems. So, we can allow separate web.config but that should be meaningful
> only when the permission is granted to override, by having some flag at the
> server configuration.
> <add key="allowDefaultAspxOverride" value="false" />
> <add key="allowDefaultAspxOverride" value="true" />
> Comments expected.
Of course, we can add all of those features and more but the xsp server
is not intended to be a fully fledged web server, but a test server.
If any of those configurable options is easy to implement and helpful,
i'll add it.