Hi all, I have error 302 only when I create a post on PHPbb.
I have 2 instances of PHPbb, both errors are the same.
/DJ is slow, 20 seconds to post.
/mess-hall is fast but still 302.
Now I’ve moved these sites from /var/www to /mnt/SSD/var/www/
However Pihole, RuTorrent, phpmyadmin etc are still in /var/www
No error in /var/log/apache2/error.log, the error only shows up in the access log.
certbot installed with certificate.
redirect enabled or disabled makes no difference to post time, it still gives me a 302
000-default both show directory of /var/www no https redirect.
No big deal for me, I’ll probably stumble across the fault and fix it, but it’s puzzling me and I’ve been at this for 2 hours.
Yes I’ve made changes and restarted apache2.
Please provide more info through the troubleshoot template. 302 is a redirect error, so it sounds like a redirect loop when it takes so long for a request. I don’t think it’s related to slow file system reads.
Did you install everything via dietpi-software or did you changed something manually? Apache logs are available via journalctl:
Sorry Jappe.
Installed manually: 2x PHPbb forums, both years old, both previously hosted by 3rd party.
dietpi-software install:
pihole, apache2, phpmyadmin, php8.2, ruTorrent and certbot.
Configs for apache modified by me, except SSL. Redirect to 443 removed by me.
OK, so I have made some minor changes in ACP. They are fine, 200.
But when I make a new post it gives 302.
Now PHPbb does redirect you back to the post you just made once you hit submit. Removing the forced redirect in PBPbb ACP speeded things up to almost instant.
443 redirect removed from 000-default.conf and 000-default-le-ssl.conf
In admin control panel (PHPbb) there’s also an option to force redirect, also off.