开发者

Weird behavior regarding IIS virtual directory names

开发者 https://www.devze.com 2022-12-18 18:36 出处:网络
I\'m new to using Microsoft IIS 6.0 and I\'m encountering this weird behavior regarding virtual directory names. I once created a virtual directory with the following details:

I'm new to using Microsoft IIS 6.0 and I'm encountering this weird behavior regarding virtual directory names. I once created a virtual directory with the following details:

Alias: Y2YY

Application name: Y2YY

Execute permissions: Scripts开发者_JAVA百科 and Executables

Local path: D:\Y2YY\content

With D:\Y2YY\content containing a valid html file (hello.html). I was able to successfully access the html file through http://Hostname/Y2YY/hello.html.

I deleted this virtual directory. And tried creating again with the same details. However, I can no longer browse to the html page through http://Hostname/Y2YY/hello.html.

Upon further testing of the virtual directory names, I found out I can only access the html file if the virtual directory name does not begin with Y2YY. This means I could not access the html file with the following virtual directory names (Y2YY*):

Y2YY1 Y2YYabc Y2YY Y2YYdef

But I can access the html file if the virtual directory is named anything else. Has anyone encountered this? Is there a setting to clear my previously created virtual directory? I have already deleted it but somehow this problem occurs.

0

精彩评论

暂无评论...
验证码 换一张
取 消