Nginx config for embedded phpbb

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Nginx config for embedded phpbb

Re: Nginx config for embedded phpbb

by seyntjim » Mon Sep 25, 2017 6:21 am

Thanks kaspir. I'm trying new nginx config today. I hope it'll solve my problems.

Re: Nginx config for embedded phpbb

by kaspir » Mon Sep 25, 2017 5:28 am

First thing I would do is save a copy of your .htaccess OR in this case a nginx configuration somewhere safe.

Then create a clean new one using only what you need. Starting with this ONLY what is required, for example on apache:

Code: Select all

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
We do this to work out any errors you may have in current .htaccess, you may add one codex at a time thereafter, testing as you go and quickly find a culprit if you have one producing that 404 error.

I don't know how to write nginx, but give this a try mate! It's a online convertor I just stumbled upon: https://winginx.com/en/htaccess

EDIT: btw, 404 server error is does not exist right? So ask yourself which url is showing your error and could also begin there.

Nginx config for embedded phpbb

by seyntjim » Sun Sep 24, 2017 2:51 pm

Hello,

Can you please share a working nginx config for embedded phpbb on wordpress? I tried embedding my forum, sometimes it works sometimes it shows 404. I don't know what's the issue. Thank you.

Top