[Mono-list] XSP default index files
Sat, 21 Dec 2002 17:45:34 +0530
> 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.
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
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
<add key="allowDefaultAspxOverride" value="false" />
<add key="allowDefaultAspxOverride" value="true" />