PHP 4.0 Bug #7364 Updated: Apache doesn't send .html or .php but does send graphics/.txt when php loaded
| From: | sniper@php.net | Date: | Tue, 05 Dec 2000 07:06:59 +0000 |
| Subject: | PHP 4.0 Bug #7364 Updated: Apache doesn't send .html or .php but does send graphics/.txt when php loaded | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40079@lists.php.net to get a copy of this message | ||
ID: 7364
Updated by: sniper
Reported By: mybugreports@somesites.com
Status: Closed
Bug Type: Apache related
Assigned To:
Comments:
Please try latest snapshot from http://snaps.php.net/
Reopen this bug report if problem still exists with snapshot or PHP 4.0.4.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-19 22:50:50] sniper@php.net
Does the apache work without PHP ?
You propably have misconfigured apache (httpd.conf).
--Jani
---------------------------------------------------------------------------
[2000-10-20 07:26:16] mybugreports@somesites.com
Background info:
Mandrake 7.1, kernel 2.2.17
Apache/1.3.14 (Unix) mod_perl/1.24_01 mod_ssl/2.7.1 OpenSSL/0.9.5a
MySQL 3.23.26 from RPM (can't get latest stable or beta to compile using --with-mit-threads,
help?)
PHP/4.0.3pl1 compiled --with-apxs=(path/apxs) --with-gd --with-zlib --with-xml --with-mysql=/usr (no
known errors on build). Default php.ini.
When the module is loaded, Apache will not send any data back in response to a "GET /foo.html
HTTP/1.0nn" or for foo.php, but will deliver entire graphics, /server-status, 404 pages, etc
where specifically requested, including simple .pl scripts. This behaviour is the same if Apache is
started with or without SSL (mod_perl is statically linked in).
This is to illustrate what I mean (.shtml works with or without the AddType directive in
httpd.conf):
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /index.html HTTP/1.0
Connection closed by foreign host.
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /index.shtml HTTP/1.0
HTTP/1.1 200 OK
Date: Fri, 20 Oct 2000 10:34:14 GMT
Server: Apache/1.3.14 (Unix) mod_perl/1.24_01 mod_ssl/2.7.1 OpenSSL/0.9.5a PHP/4.0.3pl1
Last-Modified: Fri, 20 Oct 2000 10:11:42 GMT
ETag: "92946-6c-39f01a5e"
Accept-Ranges: bytes
Content-Length: 108
Connection: close
Content-Type: text/html
<HTML><HEAD><TITLE>GO AWAY!</TITLE></HEAD>
<BODY>
<H1>MOVE ALONG, NOTHING TO SEE HERE!</H1>
</BODY>
</HTML>
I've no idea what's going on, but if any developer wants to see this first-hand or
whatever please email me.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7364