[Mono-list] Failing to get mod_mono on apache2 on ubuntu 7.04 working

R Drake alwaysberational at yahoo.com
Thu May 24 12:13:50 EDT 2007


I'm new to Linux and Mono, so apologies if this is a  stupid question.  I've read various posts on mod_mono on Ubuntu/apache2 and I still can't get it to work correctly.   XSP2 works beautifully but I want to use apache2.  I've installed the mono packages using Synaptic.  

I set up a site called gallery and when I go to http://localhost/gallery/default.aspx, I get the firefox dialog box to open or save default.aspx.  So default.aspx or any asp.net page is not getting processed.



I see this error in /var/log/apache2/error.log:

[Wed May 23 23:36:19 2007] [error] Failed running
'/usr/lib/pkgconfig/../../bin/mod-mono-server --filename
/tmp/mod_mono_server_gallery --applications
/gallery:/storage/Data/www/Gallery --nonstop (null) (null) (null)
(null) (null) (null) (null)'. Reason: No such file or directory



I see this process running:



www-data 13037 0.2 1.4 22520 10988 ? Ssl 23:36 0:00 /usr/bin/cli
/usr/lib/mono/2.0/mod-mono-server2.exe --filename
/tmp/.mod_mono_server2 --nonstop --appconfigdir /etc/mono-server2
--master



My /etc/apache2/sites-available/default file has the following entry for my app:

Alias /gallery "/storage/Data/www/Gallery"

  AddMonoApplications gallery "/gallery:/storage/Data/www/Gallery"

   <Location /gallery>

       #Options Indexes MultiViews FollowSymLinks

       SetHandler mono

   </Location>



So as far as I can tell, everything is set up correctly. But ASP.NET
pages are not being process by apache/mod_mono. I'm new to Linux/Apache
so I may have screwed something up.


 

Can anyone tell me how to get this working?


----
version info:
mono --version:  Mono JIT compiler version 1.2.3.1
mono-apache-server2: 1.2.1
libapache2-mod-mon: 1.2.1-1.1





       
____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070524/155eeecc/attachment.html 


More information about the Mono-list mailing list