[Mono-aspnet-list] Is this a serious flaw or just my mistake?

Batchwood jghsurfpro at hotmail.com
Tue Aug 4 20:53:30 EDT 2009

Diego Frata wrote:
> Try setting the configuration for each virtual host instead using the
> mod_mono.conf.
> Eg:
> <VirtualHost *:80>
>   ServerName my-mono-site.com
>   ServerAdmin web-admin at my-mono-site.com
>   DocumentRoot /srv/www/my-mono-site.com
> *  MonoServerPath my-mono-site.com "/usr/bin/mod-mono-server2"
>   MonoSetEnv my-mono-site.com MONO_IOMAP=all
>   MonoApplications my-mono-site.com "/:/srv/www/my-mono-site.com"
> *  <Location "/">
>     Allow from all
>     Order allow,deny
> *    MonoSetServerAlias my-mono-site.com*
> *    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>
> Diego Frata
> diego.frata at gmail.com

thank you for your response, Diego. I tried for many hours to make this work
with no luck. It appears that virtual hosting is not possible in mono.
Therefore, unfortunately, it's back to PHP where I know that virtual hosting
works in native Apache. This is really too bad because ASP.net is so much
cleaner than PHP. 

If I'm missing something please let me know.


View this message in context: http://www.nabble.com/Is-this-a-serious-flaw-or-just-my-mistake--tp24702520p24818944.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list