[Mono-list] Using xsp2 with mono

Jyoti Seth jyotiseth2001 at gmail.com
Fri Sep 14 06:14:33 EDT 2007


Hi All,

 

I have to host two different applications on my suse linux test server with
apache2 and mono. My Web applications are placed at the following locations:
/srv/www/htdocs/site1 and /srv/www/htdocs/site2. I want to host these
applications at different ports say 80 and 81. I have done the changes in
listen.conf to listen both ports and name the virtualhosts and added the
following in my mod_mono.conf. But it is not hosting the applications
correctly. Please help  me to know the correct method to host mono
applications on different ports of the same server.

 

Thanks,

Jyoti Seth

 

<VirtualHost 192.168.1.8:80>

>    DocumentRoot /srv/www/htdocs/site1

>    ServerName bit-dl-slmono

>    ServerPath /site1/

>    LoadModule mono_module /usr/lib/apache2/mod_mono.so

>    MonoServerPath default /usr/bin/mod-mono-server2

>    AddMonoApplications default "/:/srv/www/htdocs/site1"

>    <Directory "/srv/www/htdocs/test">

>     Order allow,deny

>     Allow from all

>     SetHandler mono

>     <IfModule mod_dir.c>

>         Directoryindex index.aspx

>     </IfModule>

>    </Directory>

> </VirtualHost>

> 

> <VirtualHost 192.168.1.8:81>

>    DocumentRoot /srv/www/htdocs/site2

>    ServerName bit-dl-slmono

>    ServerPath /site2/

>    LoadModule mono_module /usr/lib/apache2/mod_mono.so

>    MonoServerPath default /usr/bin/mod-mono-server2

>    AddMonoApplications default "/:/srv/www/htdocs/site2"

>    <Directory "/srv/www/htdocs/site2">

>     Order allow,deny

>     Allow from all

>     SetHandler mono

>     <IfModule mod_dir.c>

>         Directoryindex index.aspx

>     </IfModule>

>    </Directory>

> </VirtualHost>

> 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070914/58e95230/attachment.html 


More information about the Mono-list mailing list