In nginx, the php program resolves 404 issues under apache or xampp. enter xxx in the URL. phpssdesf and other URLs, when xxx. when the php file exists, it will be accessed, but it seems that the error 404 is always displayed under nginx. I don't know how to configure nginx to achieve the same effect? Thank you ------ solution ------------------ do not understand what you are talking about ------ solve the problem of parsing 404 in the php program under nginx
Under apache or xampp, enter xxx in the URL. php/ss/de/sf and other URLs, when xxx. when the php file exists, it will be accessed, but it seems that the error 404 is always displayed under nginx. I don't know how to configure nginx to achieve the same effect? Thank you.
------ Solution --------------------
What are you talking about?
------ Solution --------------------
It seems to be the difference between Windows and linux.
------ Solution --------------------
Check if your conf file is correct.
Location ~ . * \. Php5? $
If yes
Modify
Location ~ . * \. Php5? (/.*)? $
------ Solution --------------------
You 'd better paste your vhost configuration