[Mono-aspnet-list] Problems configuring apache2 + mono
Francisco M. Marzoa Alonso
francisco at marzoa.com
Tue Mar 29 09:50:05 EDT 2011
News on this:
I've tried changing mono configuration file to:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
And removing my webapp file, but now when I try to open the
helloworld.aspx file, it sent its contents to the browser, instead of
I do not understand why. As you see, I put .aspx extension within mono
configuration file, and I put "SetHandler mono" on the virtual host
El 29/03/11 13:16, Francisco M. Marzoa Alonso escribió:
> More information:
> I get the following message on /var/log/apache2/error.log
> "Failed to connect to mod-mono-server after several attempts to spawn
> the process."
> How may I debug this deeper?
> El 29/03/11 10:56, Francisco M. Marzoa Alonso escribió:
>> 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,
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
More information about the Mono-aspnet-list