[Mono-list] mod_mono & xsp

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Sat, 05 Feb 2005 17:10:48 -0500


On Sat, 2005-02-05 at 22:18 +0100, Giuseppe Greco wrote:
> The INSTALL file says that by default mod_mono starts mod-mono-server
> automatically... but that's not the case.
> 
> To be able to server ASP.NET pages, I had to manually
> start mod-mono-server, chmod /etc/mod_mono_server, and restart apache.
> 
> Am I wrong somewhere?

Yes. By default mod_mono *starts* mod-mono-server. Of course, mod_mono
is not omniscient and will not start it if the prefix used when building
it is not the same used when building mono or in some other non-default
cases. See --with-mono-prefix in configure for mod_mono and mod_mono
supported directives to make it work for other cases.

It will also fail to run it if, for example, a user runs mod-mono-server
in the console and after that, he starts apache as root/www-data because
the first run with the user id might have left some files/directories
behind for which apache does not have permission. I'm not saying this is
your case, but it might be.

-Gonzalo