问题
Unfortunately searching the web didn't make me any smarter. I have a web application running under my local IIS 7.5: http://localhost/myWebpage/
Now I'd like to create an alias path pointing to the same application, something like http://localhost/myWebpageAlias/
(the application will change it's layout according to the different address).
How can I achieve this?
Thx for any tipps sl3dg3
回答1:
Try creating a new virtual directory under "Default Web Site" (or whatever site is serving 'localhost'), then point it to the same directory:
回答2:
Although it is too late answer. But to alias path, you can use the IIS URL Rewrite module to create a rule which maps one url to another. Visit here for details description.
来源:https://stackoverflow.com/questions/9431377/how-to-create-an-alias-path-on-local-iis