We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Forbidden You don't have permission to access this resource. | As Super Admin

Development and Programming

Wessel's avatar
Wessel
35 posts
8 months ago
Wessel's avatar Wessel

Hi!

Recently i build this website, just like al 100 others I build. But my client has his own hosting provider (using direct admin). And my website is working fine on my own development environment. But after migrating to his hosting. I get error’s at most default actions in EE7. CMS has no addons, and just clean install.

While creating a new channel, saving template or template variable / partial. I’m getting same error:

Forbidden You don’t have permission to access this resource.

Things i checked: - Base url - Url path - SSL - Mysql rights - PHP 8.1 functions

Hope someone can tell me what it can be. Must be a server thing…..

Thanks in advance.

Wessel

       
benoitlemay's avatar
benoitlemay
24 posts
8 months ago
benoitlemay's avatar benoitlemay

Hi, Did you check the modecurity settings? I had to whitelist few rules to make my website working especially when creating channel/entries..

You may have to ask the hosting company as the whitefish utility is not working great in DirectAdmin

       
Rob Allen's avatar
Rob Allen
3,102 posts
8 months ago
Rob Allen's avatar Rob Allen

Yeah I’d look at Mod Security like benoitlemay said.

       
Tom Jaeger's avatar
Tom Jaeger
426 posts
8 months ago
Tom Jaeger's avatar Tom Jaeger

I agree… But also just to confirm.. are you getting server level errors? (not EE Error pages?)

       
Wessel's avatar
Wessel
35 posts
8 months ago
Wessel's avatar Wessel

I get no EE error pages. Thanks for quick replies. I was already afraid for this, cheapy hosting. I have no rights to edit this. So tomorrow i’ll make my client ‘happy’ to tell him his provider is worthless.

Thanks guys!

       
benoitlemay's avatar
benoitlemay
24 posts
8 months ago
benoitlemay's avatar benoitlemay

You can whitelist the rules in the htaccess.. don’t have the exact syntaxes right now but should be easy to find

       
benoitlemay's avatar
benoitlemay
24 posts
8 months ago
benoitlemay's avatar benoitlemay

Got it.. In your Site Summary / Statistics / Logs –> Error Log (suppose it’s ModSecurity related!!) find the IDs of the problematic rules.. and add it in the htaccess like so : <IfModule mod_security2.c> SecRuleRemoveById 211220 211230 213060 212800 211540 </IfModule>

       
Wessel's avatar
Wessel
35 posts
8 months ago
Wessel's avatar Wessel

Thanks! But there are no errors in the log unfortunately…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.