Re: IIS error with .com in virtual directory name
From: Tom Kaminski [MVP] ((A_at_T))
Date: 08/04/04
- Next message: marcvoor: "High CPU usage: please look at attached IISState logfile"
- Previous message: Christopher Brandsdal: "iis ---> unix"
- In reply to: Dave A: "IIS error with .com in virtual directory name"
- Next in thread: Dave A: "Re: IIS error with .com in virtual directory name"
- Reply: Dave A: "Re: IIS error with .com in virtual directory name"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 10:14:52 -0400
"Dave A" <DaveA@discussions.microsoft.com> wrote in message
news:996BED67-DAED-4580-86EB-9A749D6CE434@microsoft.com...
> Hi,
> I have a client application that loads a file under
(webroot)/domainname/file.txt. This works fine when I create the virtual
directory & call it e.g. microsoft.co.uk, but as soon as I use .com (e.g.
microsoft.com/file.txt), IIS rejects the client request with a 403.1 error -
execute access forbidden. IIS seems to think that the virtual directory name
is the end file & therefore thinks I'm trying to run executable code:-(
>
> I've tried changing the permissions to allow executable on the virtual
directory & files in it but no luck.
> A colleague of mine has managed to make it work only once as follows:-
>
> Create a Virtual Directory peter.microsoft.com with read only access (no
browsing, no executing allowed) and mapped it to a local folder, create a
subdirectory and put a file in.
http://localhost/peter.microsoft.com/files/test.txt
>
> Of course it didn't work.
> Do the following:
> - In Internet Services Manager right click on the virtual directory,
select browse, you're not allowed to .....
> - close the browser window
> - In Internet Services Manager double click on the virtual directory,
double click on the sub-folder, right click on the file and select browse,
the file is shown
> - now you can see the file but if you try from other clients or refresh
the browser you get the 403.1 error again.
>
> This is no solution, but may be a direction to look at: Does anyone know
of a way of configuring IIS or registry tweak, or MS patch etc to stop IIS
from assuming that .com in the virtual directory name (not the file since
its a .txt!) is an executable??
>
> I am running IIS 5 win2K server SP4. My colleague reproduced this on IIS 5
There is no workaround. Rename the folder.
http://support.microsoft.com/?kbid=275601
-- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserver2003/community/centers/iis/ http://mvp.support.microsoft.com/ http://www.iisfaq.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://www.tryiis.com
- Next message: marcvoor: "High CPU usage: please look at attached IISState logfile"
- Previous message: Christopher Brandsdal: "iis ---> unix"
- In reply to: Dave A: "IIS error with .com in virtual directory name"
- Next in thread: Dave A: "Re: IIS error with .com in virtual directory name"
- Reply: Dave A: "Re: IIS error with .com in virtual directory name"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|