This is usually the intended behavior. Many PHP frameworks use PATH_INFO to
handle requests.

See the documentation for AcceptPathInfo:
http://httpd.apache.org/docs/current/mod/core.html#acceptpathinfo

- Y

On Thu, Nov 13, 2014 at 10:25 AM, Christoph Gröver <gro...@sitepark.com>
wrote:

>
> 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.
>
> Greetings,
>
> --
> Christoph Gröver
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to