[Mono-list] Re: mod_mono ignoring DirectoryIndex?
benjamin van der veen
bvanderveen at gmail.com
Wed Jun 22 23:01:02 EDT 2005
Thanks for your suggestion and speedy update of the wiki.
One thing, though:
In the wiki, you are saying one *needs* to modify web.config *in
addition* to using AddHandler and DirectoryIndex in the Apache config
if one wants index.html to be the directory index.
That doesn't seem to be the case based on what my server is doing at
the moment. I think maybe this is a problem with the way you worded it
in the wiki, either that or I'm confused. The way I understand it
based on this email is that you can do either one. With the web.config
way, xsp handles index.html (as opposed to apache handling it). I
don't see why one would want to do it like this, since handing static
html to xsp is unnecessary overhead.
Let me know if that makes sense.
benjamin j. van der veen
On 6/22/05, Gonzalo Paniagua Javier <gonzalo at ximian.com> wrote:
> On Wed, 2005-06-22 at 14:09 -0700, benjamin van der veen wrote:
> > Robert,
> > Indeed I was using SetHandler, and changing it to AddHandler solved the problem.
> > I was following instructions at
> > http://www.mono-project.com/Mod_mono#Configuring_Mod_Mono -- it seems
> > this issue would be documented in some way.
> Oh, I'm sorry to be late here, but there's still another way to make
> this work.
> You can have something like:
> <?xml version="1.0" encoding="utf-8"?>
> <add key="MonoServerDefaultIndexFiles" value="index.html,index.aspx" />
> in your web.config file.
> This is documented in the manual page of xsp and mod-mono-server. But
> you're right, I'm going to add a note on this to that web page.
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list