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 [email protected]
>   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
> [email protected]
> 
> 

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.

Regards

-- 
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.

_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to