Extrange behaviour with index.php and a plain link ( windows vs linux ? )

Francis Daly francis at daoine.org
Wed Sep 17 07:27:29 UTC 2014

On Fri, Sep 12, 2014 at 04:37:24AM -0400, antoniofernandez wrote:

Hi there,

> I have two index.php files :
> /public/index.php
> /index.php
> The content of /index.php file is :
> ----------------------------- content -------------------------
> ./public/index.php
> ------------------------------------------------------------------

nginx doesn't "do" php.

It is probably worth checking the logs of your fastcgi server to see
what is going on.

Or maybe your browser is trying to be clever -- what http response do
you get for the initial request? Do you see one or two requests made by
the browser when you test (you can check the nginx logs to see that).

Francis Daly        francis at daoine.org

More information about the nginx mailing list