[Mono-list] XSP default index files
Gaurav Vaish
gvaish@adobe.com
Sat, 21 Dec 2002 17:45:34 +0530
>
> Clarifying a bit more: IIS configures a ordered list of possible index
pages
> 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
httpd.conf.
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.
<appSettings>
<add key="allowDefaultAspxOverride" value="false" />
</appSettings>
--OR--
<appSettings>
<add key="allowDefaultAspxOverride" value="true" />
</appSettings>
Comments expected.
Cheers,
Little Master
http://mastergaurav.virtualave.net/iitk
________________________