php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16814 Different output for / and /index.php urls
Submitted: 2002-04-25 03:15 UTC Modified: 2002-04-25 17:52 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: hofmann at isl dot org Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.0 OS: Linux 7.2
Private report: No CVE-ID: None
 [2002-04-25 03:15 UTC] hofmann at isl dot org
Apache 2.0.35 and PHP 4.2.0 work perfectly with each other here,
I configured Apache as follows (important points):

LoadModule php4_module        modules/libphp4.so

DirectoryIndex index.php index.shtml index.html index.html.var

AddOutputFilter PHP;INCLUDES .php

The problem now is when I call

http://www.isl.org:4080/library/index.php

the output is a correct HTML page as it should!

But when I try

http://www.isl.org:4080/library/

I will only receive incoplete HTML code displayed as ASCII in the browser!!!

I am not sure if this is a PHP experimental problem or an Apache 2.0 problem.

Please verify!

Kai Hofmann


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-25 17:52 UTC] jwoolley@php.net
This bug has been fixed in CVS.

This is probably related to subrequest and internal     
redirect filter-chaining problems in 2.0.35.  Please try     
it again when 2.0.36 comes out (it's in the final     
preparation stages right now).     
    
    
Thanks!  
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 15:03:34 2022 UTC