如何在本地IIS上创建别名路径? [英] How to create an alias path on local IIS?

查看:121
本文介绍了如何在本地IIS上创建别名路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不幸的是,上网搜索并没有使我变得更聪明.我有一个在本地IIS 7.5下运行的Web应用程序:http://localhost/myWebpage/ 现在,我想创建一个指向同一应用程序的别名路径,类似于http://localhost/myWebpageAlias/(应用程序将根据不同的地址更改其布局).

我该如何实现?

任何小费的小费 sl3dg3

解决方案

尝试在默认网站"(或服务本地主机"的任何网站)下创建一个新的虚拟目录,然后将其指向相同的目录:

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

解决方案

Try creating a new virtual directory under "Default Web Site" (or whatever site is serving 'localhost'), then point it to the same directory:

这篇关于如何在本地IIS上创建别名路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆