[Mono-list] Apache user configuration with mono_module

Shawn Vose mono@programmerforrent.com
Tue, 21 Dec 2004 09:51:37 -0500


I think you need to chmod it to 766
Howard Cole wrote:

> Hi,
>
> I recently compiled all the 1.0.4 mono classes to try the ASP.NET 
> webserver. I can get the demo working after a little messing around 
> with the httpd.conf settings below. However, when I change the http 
> group/user back to apache:apache, the ASP no longer works and I get a 
> http 503 error. I looked in the error log and apparently the 
> permission and found the following:
>
> [error] mod_mono: connect error (Permission denied). File 
> /tmp/mod_mono_server
>
> I change the group/owner of this file to apache:apache which got rid 
> of the error in the log, but still the same http error.
>
> Anyone got any ideas?
>
> Howard.
> www.selestial.com
>
> httpd.conf options:
>
> # These are the user/group options that worked
> #User nobody
> #Group #-1
>
> #These ones fail to run ASP stuff
> User apache
> Group apache
>
> LoadModule mono_module "/modules/mod_mono.so"
> MonoApplications "/demo:/usr/share/doc/xsp/test"
> <Location /demo>
>    SetHandler mono
> </Location>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>