Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1589

[3.3.x] Support Forum • Re: [split] "forgot password" URL /user/forgot_password returns 404 response code

$
0
0
The sample nginx config we provide is here: https://github.com/phpbb/phpbb/blob/rel ... ample.conf

Yours is similar but has been tweaked, specifically the part handling the URL rewriting.
Do you mean part try_files ?

Code:

    location / {      try_files $uri $uri/ @rewriteapp;      ...      }    location @rewriteapp {      rewrite ^(.*)$ /app.php/$1 last;    }
I've just removed "=404" and started getting errors "500 Internal Server Error"

And in the /var/log/nginx/error.log there many messages like
[error] 43343#43343: *6422 rewrite or internal redirection cycle while redirect to named location "@rewriteapp"

Statistics: Posted by Vaga — Sun Feb 02, 2025 7:09 pm



Viewing all articles
Browse latest Browse all 1589

Trending Articles