httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gröver <>
Subject [users@httpd] index.php ist used (internally) when /index.php/ is requested
Date Thu, 13 Nov 2014 15:25:43 GMT

Hello list,

Strange thing.

If a request is made for a directory URL where the directory contains
a .php then this request is translated to just the php file and php is
executed. (/index.php/  -->  /index.php)

In my opinion this should not happen. Since a directory is requested
and index.php is not a directory but a file, there should be a default
predefined directory index appended to it (index.php or index.html) and
this should be delivered (if it exists) or a 404 should be sent back.
( /index.php/  --> /index.php/index.php )

Does anybody know why this is happening and what is causing
this behaviour?

This at least happens with
Apache 2.4.7 (distribution Mageia 4.1).

I presume it is somewhere in the translation phase.


Christoph Gröver

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message