XenForo 2.3 Admin Login returns 403 Forbidden – OpenResty

Hello ProFreeHost Support,

My website, keyboardviet.liveblog365.com, is running XenForo 2.3.

The public website works normally, and the Admin CP login page loads correctly. However, when I submit the login form, the following request fails:

Request: POST /admin.php?login/login

Response: HTTP 403 Forbidden
Server: openresty
Content-Type: text/html

I have tried a different network, but the issue persists. The problem appeared after installing or updating an add-on or theme.

Could you please check your OpenResty access/error logs and any applicable WAF or ModSecurity rules to determine why this POST request is being blocked?

If a security rule is incorrectly blocking the request, could you advise on a safe, targeted fix? I would prefer not to disable security protections globally or modify my database.

Thank you for your help.

Hi, thanks for the details.

The 403 is coming from the server’s security system, which blocks requests that match certain patterns. We aren’t able to share the rules or logs, and we can’t make exceptions for individual sites on free hosting.

Since this started after installing or updating an add-on or theme, please disable or remove it and try logging in again. If you can’t reach the Admin CP, you can temporarily add $config['enableListeners'] = false; to src/config.php to disable add-on code, then remove the add-on and take that line out.

Please note that we don’t provide support for third party scripts or add-ons. If your site needs fewer restrictions, a premium hosting plan would be the better fit.