Date: 10/20/00
- Next message: alex-spam <email protected>: "[PHP-DEV] PHP 4.0 Bug #7365: php_value error_reporting doesn't work for me"
- Previous message: Kristian Köhntopp: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: mybugreports <email protected>
Operating system: Mandrake 7.1/Linux 2.2.17/Apache 1.3.14
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: Apache doesn't send .html or .php but does send graphics/.txt when php loaded
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.0\n\n" 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.
-- Edit Bug report at: http://bugs.php.net/?id=7364&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: alex-spam <email protected>: "[PHP-DEV] PHP 4.0 Bug #7365: php_value error_reporting doesn't work for me"
- Previous message: Kristian Köhntopp: "Re: [PHP-DEV] why the damn phpinfo() is so talkative? + answers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

