[Pkg-mono-devel] Error when adding a second application

Peter Magnusson petmag@crippledcanary.nu
Tue, 21 Sep 2004 11:23:00 +0200


I installed a simple ASP.NET application as described in 
http://crippledcanary.nu/monoresources/howtos/HOWTO.libapache2-mod-mono 
and it worked ok.

I now tried to add a second application called aspnet2 with the same files
as i aspnet...

	mkdir /var/www/aspnet2
	cp -R /var/www/aspnet/* /var/www/aspnet2/
	mono-server-admin.conf add --path=/var/www/aspnet2 --app=/aspnet2

The Apache server restarted Ok but when I try to browse 
to http://localhost/aspnet I get a 404 error saying...

	Server error in '/aspnet2' application
	--------------------------------------
	Connot find '/aspnet/index.aspx'
 
But it shouldn't be /aspnet2 application when the url stated /aspnet
and the index.aspx file realy exists.
Browsing http://localhost/aspnet2 works as it should and serves the files
from the correct location (/var/www/aspnet2).

What can this be..