note 79076 added to install.windows
| From: | scottdotthomas at tinind0tcom | Date: | Fri, 09 Nov 2007 16:34:49 +0000 |
| Subject: | note 79076 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132149@lists.php.net to get a copy of this message | ||
Just a note on impossible to figure out 404 errors regarding include statements, NTLM
authentication, and images (IIS/PHP):
My php pages with include functions were returning 404 errors and it turned out it was because every
include include page included an image in the wrong directory. As you can see when
/knowledge/addin/img/li.gif is not found (404) the index.php is also returned as 404. What led me
down the wrong path was the fact that the domain user was not present in the request for the
index.php when an include was present. Changing my style sheet to load /knowledge/img/li.gif (the
correct location of the image) cause the entire page to come back OK (200) and use the proper domain
user for NTLM authentication. If I hadn't happened across this by accident I don't know
that I would have ever figured it out.
GET /knowledge/addin/img/li.gif - 80 - 172.16.128.43
404 0 3
GET /knowledge/index.php do=newarticle&type=qa 80 - 172.16.128.43
404 0 0
GET /knowledge/img/li.gif - 80 domain\scott.thomas 172.16.128.43
200 0 0
GET /knowledge/index.php do=newarticle&type=qa 80 domain\scott.thomas 172.16.128.43
200 0 0
----
Server IP: 64.71.164.2
Probable Submitter: 209.43.1.25
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- https://master.php.net/note/edit/79076
Del: integrated -- https://master.php.net/note/delete/79076/integrated
Del: useless -- https://master.php.net/note/delete/79076/useless
Del: bad code -- https://master.php.net/note/delete/79076/bad+code
Del: spam -- https://master.php.net/note/delete/79076/spam
Del: non-english -- https://master.php.net/note/delete/79076/non-english
Del: in docs -- https://master.php.net/note/delete/79076/in+docs
Del: other reasons-- https://master.php.net/note/delete/79076
Reject -- https://master.php.net/note/reject/79076
Search -- https://master.php.net/manage/user-notes.php