[Mono-list] 2.4 mod_mono error
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Fri May 1 10:54:57 EDT 2009
On Fri, 2009-05-01 at 15:48 +0100, Derek Ekins wrote:
> Hi,
> I have been having a lot of trouble trying to get mod_mono working.
> I have setup a fresh instance of Ubuntu 9.04 (this is running on
> Amazon EC2) and built and installed mono 2.4, xsp 2.4 and mod_mono 2.4
> to /usr/local
>
> I created a new virtual host and checked that it served up static
> files. That was fine.
> Then I enabled mono by adding this to apache2.conf:
>
> Include /etc/apache2/mod_mono.conf
> MonoServerPath /usr/bin/mod-mono-server2
>
> And updated my virtual host:
>
> <VirtualHost *:80>
> ServerName mydomain.com
> DocumentRoot /srv/www/mydomain.com
>
> <Location />
> Allow from all
> Order allow,deny
> SetHandler mono
> SetOutputFilter DEFLATE
> SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
> dont-vary
> </Location>
> <IfModule mod_deflate.c>
> AddOutputFilterByType DEFLATE text/html text/plain text/xml
> text/javascript
> </IfModule>
> </VirtualHost>
I don't see any AddMonoApplications or similar there. Also you said you
installed mono et al in /usr/local and then
run /usr/bin/mod-mono-server2 ?
Anyway, I would check out Joseph's
http://www.go-mono.com/config-mod-mono/ and get the initial
configuration from there.
-Gonzalo
More information about the Mono-list
mailing list