c# - Deploy mvc.net on none root IIS app folder -


The title may be slightly vague, but I do not know how to describe it otherwise. The problem is the following:

The problem is I have an MVC website and 2 servers, a test server and the real server: The test server folder is a root folder, so the ad is:

-> This is not a problem.

But now I have to be deployed on the life server:

-> This is a problem.

This is a problem because routing does not work like this, it does:

{controller} / ... instead {controller}

Do you create my virtual folder as a virtual directory? Do you have the ability to (whether you have full control, or is it a shared hoster)?

EDIT: You'll be able to change your default route to include myappfolder in the route URL ... from the default "/ {controller} / {action} .." to "/ myappfolder / {controller} / {Action} .. "Replace.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -