[Mono-aspnet-list] MVC2 changes application directory randomly

Andrus kobruleht2 at hot.ee
Tue May 24 07:15:14 EDT 2011

http://mysite.com/store  contains MVC2 application.

Sometimes after clicking menu link in main page


this link is replaced in retrived page with link


(Links are generated using ActionLink( "Browse", "Store"))

Also in this case  ResolveURL("~/") starts to return store/Store/Browse , 
not /store
In looks like application root directory is changed to /store/Store/Browse 
automatically. /store/Store/Browse is then prepended to ebery link generated 
by ActionLink.

How to fix this so that correct links are generated ?

Mono 2.10.1 , centos , mod_mono


More information about the Mono-aspnet-list mailing list