[Mono-list] Setting up mod_mono/Apache2

Gonzalo Paniagua Javier gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Thu, 26 Aug 2004 17:44:13 -0400


On Thu, 2004-08-26 at 12:47, Simon Ask Ulsnes wrote:
> Hi there!
> I've been battling mod_mono for a few days now, and I'm close to giving up.
> I really miss _thorough_ instructions on how to set up mod_mono for 
> Apache 2 on Linux! For instance, where are .webapp files supposed to be 
> placed?

No, there's nothing telling you where those files should be placed
because it doesn't matter, as long as you pass the directory where they
are in MonoApplicationsConfigDir.

> Where is xsp.exe.config supposed to be?

That doesn't matter for mod_mono. But, anyway, the application
configuration file should be in the same place as the assembly
(.exe/.dll). That's what the configuration documentation from MS says
and what we do.

> What the hell is going on?

> 
> Currently, I managed to get mod_mono to partly respond to .aspx files - 
> every Apache hits an .aspx-file, mod_mono gives me good ol' 404 (XSP's 
> 404 page, not Apache's).
> 
> This doesn't happen with XSP - which is why I think it is config 
> related, and is why I miss some updated documentation!
> (everything I can find on Google is about mod_mono <= 0.7, and 
> apparently a lot of things changed since then)

The first place to look is mod_mono-x.x/README and INSTALL files. They
are updated, as well as the manual pages.

If instead of ranting you provide more details on how you configure
apache, you might even get some help.

-Gonzalo