[Mono-aspnet-list] ASP.NET MVC Precompiled website issues - Virtual Directories not working
Russell Kay
russell.kay at me.com
Fri Jan 22 07:32:10 EST 2010
All,
Is anyone else having problems with precompiled websites?
Preamble... version of Mono is 2.6.1 and I have tested on Windows and MacOS.
I have followed the examples online but I cannot get Virtual directories working at all, everything is fine as long as I keep everything at the root i.e.
aspnet_compiler -f -v / -p MyWebsite c:\temp\CompiledWebsite
and then
xsp2 --address 127.0.0.1 --applications /:c:\temp'\\CompiledWebsite
works fine, when I browse to http://127.0.0.1:8080/
but when I use a Virtual Directory then all I get is the Default.aspx webpage...
aspnet_compiler -f -v /test -p MyWebsite c:\temp\CompiledWebsite
and then
xsp2 --address 127.0.0.1 --applications /test:c:\temp'\\CompiledWebsite
then it does not work and all I get when I browse to http://127.0.0.1:8080/test is the text "This is a marker file generated by the precompilation tool, and should not be deleted!"
I know that I am doing something wrong with the setup, can anyone help?
Regards
Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100122/b647d3c7/attachment.html
More information about the Mono-aspnet-list
mailing list