Welcome! Log In Create A New Profile

Advanced

Problem with subfolders php-cgi execution

Posted by Mavin 
Problem with subfolders php-cgi execution
January 13, 2013 08:08AM
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? :(
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready