Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server
From: Bernhard (bpreiss_at_gmx.net.)
Date: 02/16/05
- Next message: WenJun Zhang[msft]: "Re: XP Pro and 2gb file size limit?"
- Previous message: Bernard: "Re: Geocities error message"
- In reply to: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Next in thread: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Reply: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 23:20:49 -0600
I have been investigating it further and took a look in HTTPERR.LOG
I found two entries:
2005-02-16 03:42:46 127.0.0.1 1490 127.0.0.1 80 HTTP/1.1 GET
/de/b2/install/index.php 400 - Hostname -
2005-02-16 03:49:11 127.0.0.1 1528 127.0.0.1 80 HTTP/1.1 GET
/de/b2/install/index.php 400 - Hostname -
All attemps for the name resoloution seem to be ok.
-- Bernhard "David Wang [Msft]" <someone@online.microsoft.com> wrote in message news:exc9mM9EFHA.2676@TK2MSFTNGP12.phx.gbl... >I do not see a 404 error in you web server logs. Are you sure you are > actually contacting your web server. 304 is "Not Modified" meaning the > browser is serving them from its local cache. > > I just do not there is an IIS issue here at all -- most likely > DNS/networking from the looks of it. > > -- > //David > IIS > http://blogs.msdn.com/David.Wang > This posting is provided "AS IS" with no warranties, and confers no > rights. > // > "Bernhard" <bpreiss@gmx.net.> wrote in message > news:%23kuheh7EFHA.1924@TK2MSFTNGP14.phx.gbl... > Hi David, > > thanks for the input - i aprechiate it! > >> Clearly the browser is somehow sending two different request URLs for >> what >> you think is the same website, and it is likely the cause of your issue. >> I >> wonder if your DNS configuration only works for >> http://blog.my-domain.info/ >> and not anything else ). > > Yes it works. www...., blog. ... etc can be pinged, traced and also > accessed > by telnet >> >> To test this theory out, make sure that no website on the web server >> binds >> to the default "any host header" value, and make your 404 request again. >> It >> will likely return 400 this time. > > No, still 404 > Even default pages like default.htm ending up with a 404 > > http://blog.my-domain.info should bring up the default.htm, but it also > runs > into a 404 > http://blog.my-domain.info/default.htm instead works fine. > > This is was the log looks like now: > > 10.10.2.220 GET /test.php - 80 - 68.nn.nnn.nn HTTP/1.0 - > www.my-domain.info > 200 0 0 > 10.10.2.220 GET /test.php =PHPE9568F35-D428-11d2-A769-00AA001ACF42 80 - > 68.nn.nnn.nn HTTP/1.0 http://www.my-domain.info/test.php > www.my-domain.info > 200 0 0 > 10.10.2.220 GET /test.php =PHPE9568F34-D428-11d2-A769-00AA001ACF42 80 - > 68.nn.nnn.nn HTTP/1.0 http://www.my-domain.info/test.php > www.my-domain.info > 200 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://blog.my-domain.info/default.htm blog.my-domain.info 200 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - > blog.my-domain.info 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://blog.my-domain.info/default.htm blog.my-domain.info 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://www.my-domain.info/default.htm www.my-domain.info 200 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - > www.my-domain.info 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://www.my-domain.info/default.htm www.my-domain.info 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 200 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /pagerror.gif - 80 - 68.nn.nnn.nn HTTP/1.0 > http://my-domain.info/default.htm my-domain.info 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 200 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - my-domain.info > 304 0 0 > 10.10.2.220 GET /default.htm - 80 - 68.nn.nnn.nn HTTP/1.0 - > blog.my-domain.info 200 0 0 > > Thank you > -- > Bernhard >> >> -- >> //David >> IIS >> http://blogs.msdn.com/David.Wang >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> // >> "Kristofer Gafvert" <kgafvert@NEWSilopia.com> wrote in message >> news:xn0dyjjfz8lzjwl00b@news.microsoft.com... >> Hmm...i was hoping to see something else but substatus code of 0. That >> simply means that the file is not there. >> >> You don't have any typos in the URL, and the file is there? (i just had >> to >> ask that) >> >> Do you have URLScan or something else installed that could affect this? >> >> -- >> Regards, >> Kristofer Gafvert >> www.gafvert.info - My Articles and help >> www.ilopia.com >> >> >> Bernhard wrote: >> >>> Thank you Kristofer, >>> >>> I enabled the propper logging and this is what i get now: >>> >>> These are the requests with the working test.php file: >>> >>> #Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem >>> cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) >> cs(Referer) >>> cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes >>> 2005-02-15 18:24:25 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F34-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 3138 312 >>> 2005-02-15 18:24:25 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F35-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 4616 312 >>> 2005-02-15 18:24:27 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php - >> 80 - >>> 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >> - >>> blog.my-domain.info 200 0 0 29839 227 >>> 2005-02-15 18:24:27 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F34-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 3138 312 >>> 2005-02-15 18:24:27 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F35-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 4616 312 >>> 2005-02-15 18:24:28 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php - >> 80 - >>> 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >> - >>> blog.my-domain.info 200 0 0 29839 227 >>> 2005-02-15 18:24:28 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F34-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 3138 312 >>> 2005-02-15 18:24:28 W3SVC1167229278 MAXIMUS 10.10.2.220 GET /test.php >>> =PHPE9568F35-D428-11d2-A769-00AA001ACF42 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >>> http://blog.my-domain.info/test.php blog.my-domain.info 200 0 0 4616 312 >>> >>> And thats what i get when i try to access the existing test.php in a >>> subdirectory: >>> #Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem >>> cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) >> cs(Referer) >>> cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes >>> 2005-02-15 18:27:38 W3SVC1167229278 MAXIMUS 10.10.2.220 GET >>> /install/index.php - 80 - 68.nn.nnn.nn HTTP/1.0 >>> >> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) >> - >>> blog.my-domain.info 404 0 0 212 379 >>> >>> Does this make any sence? >>> >>> Thank you. >> >> > > >
- Next message: WenJun Zhang[msft]: "Re: XP Pro and 2gb file size limit?"
- Previous message: Bernard: "Re: Geocities error message"
- In reply to: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Next in thread: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Reply: David Wang [Msft]: "Re: 404 with IIS (6.0) PHP, CGI, Host Header on Windows 2003 Server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading