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!!!
分享到:
相关推荐
打开URL列表源代码:https://github.com/htrinter/Open-Multiple-URLs/ Changelog:https://github.com/htrinter/Open-Multiple-URLs/blob/v1.5.0/CHANGELOG。 md权限:-“制表符”权限以打开新标签页。 该权限显示...
源代码:https://github.com/hagent1/Open-Multiple-URLs 权限:“标签”,以打开新的。显示为“访问您的浏览活动”,因为标签的URL是可访问的,尽管此访问仅用于设置由扩展打开的标签的URL。 更新日志: - 1.3.2...
下载器命名错误的 。 给定URL列表,此模块将收集每个URL上的所有图像并将它们存储在单独的PDF文件中。...使用的图书馆 :HTTP请求 :完整的html加载 :...const config = { // Mandatory list of URLs to inspect urls :
osCommerce 是一套基于GNU GPL授权的开源在线购物电子商务解决方案。...domain URLs for Sites.ErrorHandler messages now formated in UTF-8.Allow configuration parameters to be retrieved by their
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...
+ 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
ultimate_seo_urls Url规则也就越少
+ 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) + ...
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 ...
+ 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) + ...
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...
AxureRP-extension-for-Chrome-0.6.2 Chrome Version 33.0.1750.146 m 因为众所周知的原因,此插件不能正常下载,但是可以通过离线安装 使用说明: 1 设置---更多工具--扩展程序 2 打开开发者模式 ...
zencartultimate_seo_urls安装说明.pdf
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...
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 ...
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) ...
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 Node.js: Manage and Understand the Full Capabilities of Successful REST Development Manage and understand the full capabilities of successful REST development. REST API ...