如何允许.com在url路径使用IIS6在Win2003 R2 x64? [英] how to allow .com in a url path using IIS6 on Win2003 R2 x64?

查看:286
本文介绍了如何允许.com在url路径使用IIS6在Win2003 R2 x64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎IIS6在Win2003 R2企业x64 SP2不会允许你在一个url路径中使用.com

it seems IIS6 on Win2003 R2 Enterprise x64 SP2 will not allow you to use .com in a url path.

例如,如果我创建一个文件夹foo.com我的web根目录,包含一个default.htm,这个URL导致一个404:

e.g if i create a folder foo.com in my web root, containing a default.htm, this url results in a 404:

http://localhost/foo.com/default.htm

但是,遵循与Win2003 R2完全相同的步骤

however, following the exact same steps on Win2003 R2 Standard x86 SP2, and IIS6 will serve up the file just fine.

两个服务器都没有安装urlscan。

Neither server has urlscan installed.

有没有办法告诉IIS6在Win2003 x64允许.com在url路径?

Is there a way to tell IIS6 on Win2003 x64 to allow .com in a url path?

推荐答案

ok问题解决。这个帖子,虽然不直接给出答案,给我足够的线索:

ok problem solved. this post, whilst not directly giving the answer, gave me enough of a clue:

David Wang的博客

基本上,我的x64 IIS网站的执行权限配置为脚本和可执行文件
,而我的X86 IIS网站配置为仅脚本

Basically, my x64 IIS site had it's execute permissions configured "Scripts AND executables" whereas my X86 IIS site was configured "Scripts Only"

所以看来,即使.com只出现在我的url的路径,IIS将它当作一个可执行文件,它没有应用程序映射,因此HTTP 404

So it seems that, even though .com was only appearing in the path of my url, IIS was treating it as an executable file, for which it has no application mapping hence the HTTP 404

这篇关于如何允许.com在url路径使用IIS6在Win2003 R2 x64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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