Re: IIS Directory Mapping Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ed (anonymous_at_anonymous.microsoft.com)
Date: 02/11/04


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
> :
> :
> :
> :
>
>



Relevant Pages

  • Re: IIS Directory Mapping Problem
    ... Something is up with your server. ... website you are connected to, even with the headers specified and defaults ... to the default website path. ... when telnetting in to www.mysite.com 80 ...
    (microsoft.public.inetserver.iis)
  • IIS Directory Mapping Problem
    ... The problem arises when telnetting into the server and ... even with the headers specified and defaults ... to the default website path. ... when telnetting in to www.mysite.com 80 ...
    (microsoft.public.inetserver.iis)
  • Re: inbound SMTP problem
    ... BackSpace key will send to the server and the server might respond with "500 ... > Here is the output when telnetting in, the user is correct> and mail enabled: ... Exchange will not process the emails in that> folder. ... >>I suggest you re-install Exchange 2003 and check the> settings on SMTP ...
    (microsoft.public.exchange.connectivity)
  • Re: Unable to Relay for internal server (Exchange 2003 SP2)
    ... Could the SMTP VS be listening on a different IP address? ... Tried telnetting from two different machines - one VMS and one Windows. ... to the same SMTP Virtual server. ...
    (microsoft.public.exchange.admin)
  • Re: Pan Newsreader
    ... Wot's wrong with telnetting into the server? ... It's perfectly practical to Telnet into the server to ... Because the software to grab the news spool via a sensible UI ... didn't seem to be playing sensible games, so I tried it the hard way. ...
    (uk.people.support.depression)