[Mono-aspnet-list] Problems configuring apache2 + mono

Francisco M. Marzoa Alonso francisco at marzoa.com
Tue Mar 29 04:56:59 EDT 2011


I'm having problems configuring apache2 and mono for using ASP.net on

I've installed everything needed, and the module seems to be working,
but I've not been able to run a simple helloworld on a virtual host.

I think the problem is on the webapp configuration file.

My virtualhost is defined as follows:

<VirtualHost *:80>
	ServerAdmin webmaster at localhost
	ServerName fake.domain.com
	DocumentRoot /var/www/fake.domain.com/web/
	ErrorLog /var/www/fake.domain.com/logs/error.log
	LogLevel warn
	CustomLog /var/www/fake.domain.com/logs/access.log combined
	<Directory /var/www/fake.domain.com/web/>
		Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                Allow from all
		SetHandler mono
        	DirectoryIndex index.aspx index.html

I've created all needed directories and server itself is working fine if
I do not use mono. I mean that if I move my browser to
http://fake.domain.com/ it shows me the contents of
/var/www/fake.domain.com/web directory without problems.

But when I create a mono aplication on /etc/mono-server2/ it does not
run as expected. I've created one file called fake.domain.com.webapp
with the following contents:


But if I try to open http://devel.sharpbear.com I got a 503 Service
Temporarily Unavailable after a while waiting for page to load.

"The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later."

Any hints?

Thanks a lot in advance,

More information about the Mono-aspnet-list mailing list