Re: IIS Directory Mapping Problem
From: Ed (anonymous_at_anonymous.microsoft.com)
Date: 02/11/04
- Next message: Versteijn: "Re: Customize errorpages for a website with LDAP"
- Previous message: Ken Schaefer: "Re: NT AUTHORITY/NETWORK SERVICE missing from IIS_WPG"
- In reply to: Ken Schaefer: "Re: IIS Directory Mapping Problem"
- Next in thread: David Wang [Msft]: "Re: IIS Directory Mapping Problem"
- Reply: David Wang [Msft]: "Re: IIS Directory Mapping Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Feb 2004 12:48:38 -0000
Ken
I only get the indepth response when telnetting from the Server to Itself.
Otherwise, from an external server, or my desktop. I do get the 400 Bad
Request Invalid HostName.
Could you clarify for me how the HTTP request should be formed with a host:
header.
I have been trying with:
GET /subdir/anypage.aspx HTTP/1.1 host: www.myserver.com
Thanks again Ken
Ed
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:%23reBQyJ8DHA.2044@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> Something is up with your server. If you do this:
>
> GET /subdir/anypage.aspx HTTP/1.1
>
> (the HTTP/1.1 bit should be on the same line as the actual method header)
> then you should get back 400 Bad Request or similar (possibly with the
text
> "invalid hostname"), since the HTTP 1.1 spec requires that you specify a
> host: header as well as the method (at the very least).
>
> The fact you are getting back an error:
>
> : the error from ther server is 'Could not find a part of the path
> : "c:\inetpub.\wwwroot\subdir\anypage.aspx"'
>
> is quite disturbing, as IIS shouldn't be revealing information about the
> internal structure of your physical drives. Maybe someone from Microsoft
can
> comment?
>
> Cheers
> Ken
>
> "Ed" <anonymous@anonymous.microsoft.com> wrote in message
> news:uQ0F3SJ8DHA.3420@TK2MSFTNGP11.phx.gbl...
> : Hi, I am using IIS6 with mutiple websites. which are all working fine
> using
> : headers etc. The problem arises when telnetting into the server and
> : manually posting the HTTP GET Request. The server seems to ignore which
> : website you are connected to, even with the headers specified and
defaults
> : to the default website path.
> :
> : For example:
> :
> : Browsing to http://www.mysite.com/SubDir/Anypage.aspx displays the
> : anypage.aspx without a problem
> :
> : www.mysite.com is configured as a Website in IIS 6 with a home directory
> of
> : c:\inetpub\wwwroot\mysite\
> :
> : subdir is a standard subdirectory located in
> : c:\inetpub\wwwroot\mysite\subdir
> :
> : when telnetting in to www.mysite.com 80
> :
> : with the get command:
> : GET /subdir/anypage.aspx
> : HTTP/1.1
> :
> : the error from ther server is 'Could not find a part of the path
> : "c:\inetpub.\wwwroot\subdir\anypage.aspx"'
> :
> : this is understandable as it is omitting the mysite directory in
wwwroot.
> : Even when telneting with the headers supplied the same problem occurs.
> :
> : I understand this is almost definatley a configuration problem at my
> : end..but have no idea what & I can not understand why the pages are
being
> : served from a browser and not telnet!! Any help much appreciated
> :
> :
> :
> :
>
>
- Next message: Versteijn: "Re: Customize errorpages for a website with LDAP"
- Previous message: Ken Schaefer: "Re: NT AUTHORITY/NETWORK SERVICE missing from IIS_WPG"
- In reply to: Ken Schaefer: "Re: IIS Directory Mapping Problem"
- Next in thread: David Wang [Msft]: "Re: IIS Directory Mapping Problem"
- Reply: David Wang [Msft]: "Re: IIS Directory Mapping Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|