Run an ASP.NET website in a subfolder

Posted by Bernhard Hofmann on Stack Overflow See other posts from Stack Overflow or by Bernhard Hofmann
Published on 2009-10-04T09:46:14Z Indexed on 2010/04/29 16:57 UTC
Read the original article Hit count: 364

Is there a way of running an ASP.NET website in a subfolder of the website?

As an example, say I wanted to run the screwturn wiki (http://www.screwturn.eu/) in a folder called "wiki" on my website, can I alter the web.config of the screwturn website to tell it that it is running in the "wiki" folder? (like saying that "~/" = "/wiki/")

The wiki would then find its assemblies that are in "~/bin" in "/wiki/bin" and the same for all other folders below the new root.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-config