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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 - 13 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC