[Mono-list] mod_mono problem

Robert Jordan robertj at gmx.net
Thu Dec 28 15:01:48 EST 2006


Pedro Sobota wrote:
> Hi,
> 
> After much debugging, my configuration still yields 503 Internal Server
> Error, only now no errors come up on the Apache error logs. If I comment
> the AddMonoApplications directive, the pages show but I guess they then
> don't go thru Mono as they are served as HTML. Applying the directive, I
> get 503. Is there something wrong with my configuration?

> <VirtualHost 66.98.226.49:80>
>         ServerName   [domain]:80
>         ServerAlias  [domain]
>         ServerAdmin  pedro at sobota.net
>         AddMonoApplications app "/:/var/www/vhosts/[domain]/httpdocs"

Here you're using the instance called "app"...

>         DocumentRoot /var/www/vhosts/[domain]/httpdocs
>         <Directory /var/www/vhosts/[domain]/httpdocs>

... but the handler is only set for the "default" instance:

>                 SetHandler mono
>                 Options -Includes +ExecCGI Indexes
>         </Directory>
> </VirtualHost>

Try "AddModMonoApplications default ..."

Robert



More information about the Mono-list mailing list