Jump to content

Getting 403 errors

Featured Replies

Posted

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>
 

Sounds like Mod_Security is blocking your change, try disabling it or reviewing your logs for mod_security.

  • Author

@Rhett Do you know where I can find it to disable the feature?

  • Author

Ah, server, we can do that, I thought you meant via IPB.

  • Author

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? 

  • Author

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>

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.