如何创建www.customer.appsglobal.com/login.aspx页面

编程入门 行业动态 更新时间:2024-10-25 14:33:40
本文介绍了如何创建www.customer.appsglobal/login.aspx页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我想使用asp创建像www.customer1.appsglobal/login.aspx这样的网站。 这里 customer1 根据不同的客户进行更改。但剩下的网址应该是相同的。 为此,我选择了IIS URL-Rewrite概念。 我们的域名为www.appsglobal。但是使用这个我们可以创建网址,例如 www.customer1.appsglobal/login.aspx [ ^ ] www.customer2.appsglobal/login.aspx [ ^ ] www.customer3.appsglobal/login.aspx [ ^ ] 所以请帮我这样做。 在预先感谢

Hi all, I want to create a webisite like www.customer1.appsglobal/login.aspx using asp. Here customer1 is changed based on different customers. But remaining the url should be same. For this i have choosen IIS URL-Rewrite concept. We have a domain is www.appsglobal. But using this we can create url's like www.customer1.appsglobal/login.aspx[^] www.customer2.appsglobal/login.aspx[^] www.customer3.appsglobal/login.aspx[^] so please help me to do like this. Thanks in Advance

推荐答案

如果您真正需要的唯一一点是URL不同,您可以将域绑定到IIS中的同一站点。现在请记住,其他一切必须保持不变。如果你想使用不同的CSS,图像等,你会看到在你的应用程序中建立对多个站点的支持。 首先你需要了解如何IIS上的绑定工作。查看 blogs.technet/b/chrad/archive/2010/01/24/understanding-iis-bindings-websites-virtual-directories-and-lastly-application-pools.aspx [ ^ ] 完成后,您可以将应用程序部署到服务器。在IIS下设置网站后,您只需应用您列出的每个URL。所以每个www.customerx都会指向同一个IIS站点。 If the only thing you really need is for the URL to be different you can just bind the domains to the same site in IIS. Now keep in mind that everything else must remain the same. If you want to use a different CSS, images, etc. you will have look at building support for multiple sites into your app. First thing you need to understand how bindings on IIS work. View that blogs.technet/b/chrad/archive/2010/01/24/understanding-iis-bindings-websites-virtual-directories-and-lastly-application-pools.aspx[^] Once you have that you can deploy you app to your server. After you setup the web site under IIS you just apply each of URLS you listed about. So every www.customerx would point to the same IIS site.

更多推荐

如何创建www.customer.appsglobal.com/login.aspx页面

本文发布于:2023-11-10 00:38:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573885.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:页面   customer   www   appsglobal   aspx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!