[Mono-list] Re: mod_mono ignoring DirectoryIndex?

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Jun 22 19:11:50 EDT 2005


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"?>
<configuration>
<appSettings>
<add key="MonoServerDefaultIndexFiles" value="index.html,index.aspx" />
</appSettings>
</configuration>

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.

Thanks.

-Gonzalo




More information about the Mono-list mailing list