`
renzhelife
  • 浏览: 669922 次
文章分类
社区版块
存档分类
最新评论

IIS configuration with support of multiple domain urls

 
阅读更多
Today I have encountered a problem, I spent 3 hours and a half for figuring it out. I need to make the applicationcompatible with muiltiple domain urls.

I need to get the country information when parsing the two urls: cn.xx.xxx.xxxx.com and web-cn.xx.xxx.xxxx.com

What i need is simply "cn".


Here is my code :



I have two test cases in my recette envrionment, on called Contrib, the other call Front. They hold the same codes and same configurations. But in fact it works in one case and not the other one.

With confusions and frastration during 3 hours, I've found that it's because there is a tiny difference between their configurations in IIS 6.

It's just the parameter "DefaultDoc". My application's default page is "Default.aspx". It won't work if i don't indicate it in my IIS configuration. The case not working doesn't have this parameter.


AT LAST, it work for me. Enjoy coding!!!


分享到:
评论

相关推荐

    Open Multiple URLs-crx插件

    打开URL列表源代码:https://github.com/htrinter/Open-Multiple-URLs/ Changelog:https://github.com/htrinter/Open-Multiple-URLs/blob/v1.5.0/CHANGELOG。 md权限:-“制表符”权限以打开新标签页。 该权限显示...

    打开多个网址「Open Multiple URLs」-crx插件

    源代码:https://github.com/hagent1/Open-Multiple-URLs 权限:“标签”,以打开新的。显示为“访问您的浏览活动”,因为标签的URL是可访问的,尽管此访问仅用于设置由扩展打开的标签的URL。 更新日志: - 1.3.2...

    multiple-urls-images-downloader:给定URL列表,获取其内容并从每个页面下载图像(或其他数据)

    下载器命名错误的 。 给定URL列表,此模块将收集每个URL上的所有图像并将它们存储在单独的PDF文件中。...使用的图书馆 :HTTP请求 :完整的html加载 :...const config = { // Mandatory list of URLs to inspect urls :

    osCommerce v3.0.2

    osCommerce 是一套基于GNU GPL授权的开源在线购物电子商务解决方案。...domain URLs for Sites.ErrorHandler messages now formated in UTF-8.Allow configuration parameters to be retrieved by their

    Ig15_SP_IT_M04V2_sitecreation

    One of the big things we did is to allow you to associate multiple Urls with the same site collection. This only works for host header sites, but as you can see from the PowerShell here, we’ve added...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    + added support of TeeChart 2010 packages (new series type aren't support in this release) + added a property TruncateLongTexts to the XLS OLE export that allows to disable truncating texts longer ...

    Efficient summarization of URLs using CRC32 for implementing URL switching

    Efficient summarization of URLs using CRC32 for implementing URL switching

    ultimate_seo_urls

    ultimate_seo_urls Url规则也就越少

    FastReport 4.9

    + added support of /PAGE tag in TfrxRichView, engine automatically break report pages when find /PAGE tag + added ability to hide Null values in TfrxChartView (TfrxChartView.IgnoreNulls = True) + ...

    Question2Answer PHP问答系统 v1.5.4

    Bug FixesPrevented multiple accounts with the same email address when logging in via an external identity provider.Updated Facebook plugin for change in location of user avatar URLs in Facebook Graph ...

    Fast Report Enterprise v4.9.32 Full Source

    + added support of /PAGE tag in TfrxRichView, engine automatically break report pages when find /PAGE tag + added ability to hide Null values in TfrxChartView (TfrxChartView.IgnoreNulls = True) + ...

    IIS服务器SSI(rewrite重写)插件的帮助资料

    Windows Server 2003 with IIS 6.0 ? Windows Vista with IIS 7.0 ? Windows Server 2008 with IIS 7.0 在安装ISAPI_Rewrite之前,操作系统中必须先安装IIS。 32位和64位的Windows版本都是支持的,但是你必须下载32...

    chrome 插件 Allow access to file URLs

    AxureRP-extension-for-Chrome-0.6.2 Chrome Version 33.0.1750.146 m 因为众所周知的原因,此插件不能正常下载,但是可以通过离线安装 使用说明: 1 设置---更多工具--扩展程序 2 打开开发者模式 ...

    zencartultimate_seo_urls安装说明.pdf

    zencartultimate_seo_urls安装说明.pdf

    Pro REST API Development with Node.js(Apress,2015)

    Pro REST API Development with Node.js is your guide to managing and understanding the full capabilities of successful REST development. API design is a hot topic in the programming world, but not many...

    question2answer_v1.5.4.zip

    Updated Facebook plugin for change in location of user avatar URLs in Facebook Graph API response. Fixed functionality of 'Remember' checkbox in login form at the top of the Snow theme. Fixed ...

    drupal 6.12

    Clean URLs support on IIS, see "Using Clean URLs with IIS" (http://drupal.org/node/3854) in the Drupal handbook. - Various Drupal features require that the web server process (for example, httpd) ...

    Programming.Google.App.Engine.with.Java

    Structure your app into individually addressable modules, each with its own scaling configuration Exploit the power of the scalable Cloud Datastore, using queries, transactions, and data modeling with...

    rest api development with nodejs 英文版

    REST API Development with Node.js: Manage and Understand the Full Capabilities of Successful REST Development Manage and understand the full capabilities of successful REST development. REST API ...

Global site tag (gtag.js) - Google Analytics