I have tried giving different server names but it is still pointing to the first configuration only.
Thanks, Jyoti Seth On 6/21/07, Marek Habersack <[EMAIL PROTECTED]> wrote:
On Thu, 21 Jun 2007 13:44:37 +0530, "Jyoti Seth" < [EMAIL PROTECTED] > scribbled: > Hello, Hello Jyoti, [snip] > When I add MonoDocumentRootDir "/srv/www/htdocs/test" and > MonoDocumentRootDir "/srv/www/htdocs/testjs" in their respective virtualroot > it gives "File not found: test.aspx" > > > <VirtualHost 192.168.X.X:80> > DocumentRoot /srv/www/htdocs/test > ServerName bit-dl-slmono > ServerPath /test/ > LoadModule mono_module /usr/lib/apache2/mod_mono.so > MonoServerPath default /usr/bin/mod-mono-server2 > AddMonoApplications default "/:/srv/www/htdocs/test" > <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.X.X:81> > DocumentRoot /srv/www/htdocs/testjs > ServerName bit-dl-slmono > ServerPath /testjs/ > LoadModule mono_module /usr/lib/apache2/mod_mono.so > MonoServerPath default /usr/bin/mod-mono-server2 > AddMonoApplications default "/:/srv/www/htdocs/testjs" > <Directory "/srv/www/htdocs/testjs"> > Order allow,deny > Allow from all > SetHandler mono > <IfModule mod_dir.c> > Directoryindex index.aspx > </IfModule> > </Directory> > </VirtualHost> > > Please help me to resolve this problem. I would say it's because you have the same ServerName in both cases - mod_mono picks up the first configuration only. Try changing one of the names and see if it works then. regards, marek
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
