KIKI_ Posted March 10, 2020 Posted March 10, 2020 (edited) Hi All, I am getting some 403 errors when trying to save some changes. For example, I am trying to set up Google Analytics, I paste the code, hit save, 403. Same when setting up Terms and Privacy. I have full access. This is self hosting. Any thoughts? UPDATE: If I remove the Google tracking code, and replace it with some basic text, it saves fine.... so I am not sure why it doesn't want to accept.. below is the following code trying to save... <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=removed"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'removed'); </script> Edited March 10, 2020 by KIKI_
Rhett Posted March 10, 2020 Posted March 10, 2020 Sounds like Mod_Security is blocking your change, try disabling it or reviewing your logs for mod_security. Sonya* 1
KIKI_ Posted March 10, 2020 Author Posted March 10, 2020 @Rhett Do you know where I can find it to disable the feature?
Ryan Ashbrook Posted March 10, 2020 Posted March 10, 2020 That will be something your host would need to advise on, as Mod Security is controlled at the server level. Rhett 1
KIKI_ Posted March 10, 2020 Author Posted March 10, 2020 Ah, server, we can do that, I thought you meant via IPB.
KIKI_ Posted March 17, 2020 Author Posted March 17, 2020 Hey guys, Mod Security was disabled and this is still causing an issue. For example, some users on the same group with same settings have no issue editing their bio, but another user who also has the same group permissions gets a 403 when trying to edit the profile still. This is really frustrating. There are no error logs either.... can anyone suggest anything?
KIKI_ Posted March 17, 2020 Author Posted March 17, 2020 Also if someone can attach their htaccess file? This is mine <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Recommended Posts