Dash in request url messes up regex?

Francis Daly francis at daoine.org
Fri Jun 26 17:45:07 UTC 2015


On Fri, Jun 26, 2015 at 10:46:35AM +0200, Christ-Jan Wijtmans wrote:

Hi there,

> I am requesting the url /magento-check.php and it gives me the php
> code instead of running it through fpm. Other php files work just
> fine.

Does "curl -i http://your-server/magento-check.php" show a http header
which indicates that PHP is processing the file?

Is there any difference in response if you add "<?php" at the start of
the magento-check.php file?

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list