Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Problem with subfolders php-cgi execution

$
0
0
Hi, sorry, i don't speak english, I will be very brief :D

I use this for php-cgi 404

location ~ \.php$ {
root public;
try_files $uri @404;
...
}

location @404 { return 404; break; }
error_page 404 /404.html;

in "http://localhost/index.php" work, in "http://localhost/forum/index.php" return 404 error... the folder exists and the index.php idem in /forum/ folder... any idea? :(

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>