[PHP-DEV] PHP 4.0 Bug #9433 Updated: ErrorDocument 404 pointing to PHP file

2001-04-30 Thread justin

ID: 9433
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Description: ErrorDocument 404 pointing to PHP file

To make this more understandable (people emailed me with questions which weren't 
posted in the report).  This scenario does work on lynx and it can not be a browser or 
apache server error because it works perfectly with 4.0.1pl2 and earlier.  Are there 
any modifications I can make in the php sources before compiling to meet my need if 
you would prefer to not modify the current php source on this feature?

Previous Comments:
---

[2001-02-28 19:42:15] [EMAIL PROTECTED]
No response?

---

[2001-02-24 17:17:08] [EMAIL PROTECTED]
If this were the case, then why does it react differently with PHP version 4.0.1pl2 
and 4.0.2?

---

[2001-02-24 16:51:21] [EMAIL PROTECTED]
Adding to this, lynx reports a 404 then continues to load the correct page.  I guess 
lynx reports a 404 if the file is not found then proceeds to the page specified for 
that error.

---

[2001-02-24 16:43:48] [EMAIL PROTECTED]
No, lynx reports a 404 error also.

---

[2001-02-23 22:34:31] [EMAIL PROTECTED]
Apache 1.3.12


I wrote a script that redirects a person to a different page based on the REQUEST_URI 
and HTTP_HOST apache variables.  Ever since PHP 4.0.2, Internet Explorer started 
reporting 404 errors instead of going to the appropriate page.  What is even more 
mysterious is that it is the IE 404 error page, not the server wide page nor the 
default 404 error page for the site.  To top it all off, it works for Opera as well as 
Netscape.  I think this must be caused by the way PHP handles headers and the way IE 
interprets them, because I can put PHP version 4.0.1pl2 on and it will work great even 
with IE, then any versions afterwards cause an error.  An example page is at 
http://test.jwdx.com I have also added header(Status: 404 Not Found) as stated in 
other bug reports.  I would not blame this on PHP except for the fact that different 
versions respond differently with all other circumstances remaining the same.

--Justin Bachus

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9433


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9433 Updated: ErrorDocument 404 pointing to PHP file

2001-02-24 Thread justin

ID: 9433
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Description: ErrorDocument 404 pointing to PHP file

No, lynx reports a 404 error also.

Previous Comments:
---

[2001-02-23 22:34:31] [EMAIL PROTECTED]
Apache 1.3.12


I wrote a script that redirects a person to a different page based on the REQUEST_URI 
and HTTP_HOST apache variables.  Ever since PHP 4.0.2, Internet Explorer started 
reporting 404 errors instead of going to the appropriate page.  What is even more 
mysterious is that it is the IE 404 error page, not the server wide page nor the 
default 404 error page for the site.  To top it all off, it works for Opera as well as 
Netscape.  I think this must be caused by the way PHP handles headers and the way IE 
interprets them, because I can put PHP version 4.0.1pl2 on and it will work great even 
with IE, then any versions afterwards cause an error.  An example page is at 
http://test.jwdx.com I have also added header("Status: 404 Not Found") as stated in 
other bug reports.  I would not blame this on PHP except for the fact that different 
versions respond differently with all other circumstances remaining the same.

--Justin Bachus

---


Full Bug description available at: http://bugs.php.net/?id=9433


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9433 Updated: ErrorDocument 404 pointing to PHP file

2001-02-24 Thread justin

ID: 9433
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Description: ErrorDocument 404 pointing to PHP file

Adding to this, lynx reports a 404 then continues to load the correct page.  I guess 
lynx reports a 404 if the file is not found then proceeds to the page specified for 
that error.

Previous Comments:
---

[2001-02-24 16:43:48] [EMAIL PROTECTED]
No, lynx reports a 404 error also.

---

[2001-02-23 22:34:31] [EMAIL PROTECTED]
Apache 1.3.12


I wrote a script that redirects a person to a different page based on the REQUEST_URI 
and HTTP_HOST apache variables.  Ever since PHP 4.0.2, Internet Explorer started 
reporting 404 errors instead of going to the appropriate page.  What is even more 
mysterious is that it is the IE 404 error page, not the server wide page nor the 
default 404 error page for the site.  To top it all off, it works for Opera as well as 
Netscape.  I think this must be caused by the way PHP handles headers and the way IE 
interprets them, because I can put PHP version 4.0.1pl2 on and it will work great even 
with IE, then any versions afterwards cause an error.  An example page is at 
http://test.jwdx.com I have also added header("Status: 404 Not Found") as stated in 
other bug reports.  I would not blame this on PHP except for the fact that different 
versions respond differently with all other circumstances remaining the same.

--Justin Bachus

---


Full Bug description available at: http://bugs.php.net/?id=9433


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] PHP 4.0 Bug #9433 Updated: ErrorDocument 404 pointing to PHP file

2001-02-24 Thread Björn Schotte

* [EMAIL PROTECTED] wrote:
 appropriate page.  What is even more mysterious is that it is the IE 404
 error page, not the server wide page nor the default 404 error page for
 the site.

That's crappy IE style which displays its own 404 error page with
its default configuration. Go to the IE preferences, there's a
section where you can change the behaviour of IE so that it
displays the 404 page which the server sends.

-- 
Bjrn Schotte  [EMAIL PROTECTED]
http://rent-a-phpwizard.de/   [EMAIL PROTECTED]

Software dev advocate: http://www.advogato.org/person/baerli/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9433 Updated: ErrorDocument 404 pointing to PHP file

2001-02-24 Thread justin

ID: 9433
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Description: ErrorDocument 404 pointing to PHP file

If this were the case, then why does it react differently with PHP version 4.0.1pl2 
and 4.0.2?

Previous Comments:
---

[2001-02-24 16:51:21] [EMAIL PROTECTED]
Adding to this, lynx reports a 404 then continues to load the correct page.  I guess 
lynx reports a 404 if the file is not found then proceeds to the page specified for 
that error.

---

[2001-02-24 16:43:48] [EMAIL PROTECTED]
No, lynx reports a 404 error also.

---

[2001-02-23 22:34:31] [EMAIL PROTECTED]
Apache 1.3.12


I wrote a script that redirects a person to a different page based on the REQUEST_URI 
and HTTP_HOST apache variables.  Ever since PHP 4.0.2, Internet Explorer started 
reporting 404 errors instead of going to the appropriate page.  What is even more 
mysterious is that it is the IE 404 error page, not the server wide page nor the 
default 404 error page for the site.  To top it all off, it works for Opera as well as 
Netscape.  I think this must be caused by the way PHP handles headers and the way IE 
interprets them, because I can put PHP version 4.0.1pl2 on and it will work great even 
with IE, then any versions afterwards cause an error.  An example page is at 
http://test.jwdx.com I have also added header("Status: 404 Not Found") as stated in 
other bug reports.  I would not blame this on PHP except for the fact that different 
versions respond differently with all other circumstances remaining the same.

--Justin Bachus

---


Full Bug description available at: http://bugs.php.net/?id=9433


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]