Advertisement:

Author Topic: forbidden you dont have permission  (Read 372 times)

Offline clickspk

  • Newbie
  • *
  • Posts: 4
forbidden you dont have permission
« on: January 12, 2018, 05:49:50 AM »
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

this message each time coming when i try to edit any .php file please guide me thanks

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 48,968
Re: forbidden you dont have permission
« Reply #1 on: January 12, 2018, 05:52:00 AM »
how are you trying to modify the files?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: forbidden you dont have permission
« Reply #2 on: January 12, 2018, 05:55:45 AM »
Sounds like mod_security.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 7,619
  • There's someone in my head but it's not me.
Re: forbidden you dont have permission
« Reply #3 on: January 12, 2018, 12:40:06 PM »
Looks like this.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,755
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #5 on: January 12, 2018, 04:17:35 PM »
how are you trying to modify the files?

i am trying from admin panel then configuration/themes and layout /modify theme/Browse the templates and files in this theme

in this page when i click on browse the templates and files in this theme there all templates are giving the same error when i try to modify them 

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: forbidden you dont have permission
« Reply #6 on: January 12, 2018, 04:20:26 PM »
Ask your host to turn off mod_security, or edit the files with FTP.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #7 on: January 12, 2018, 04:48:46 PM »
oke let me ask to hosting ... thank you to all for guiding me

Offline clickspk

  • Newbie
  • *
  • Posts: 4
Re: forbidden you dont have permission
« Reply #8 on: January 16, 2018, 08:53:53 AM »
It is possible to disable the Mod_security module for your cPanel account, but please, be informed that mod_security module increases security level of your hosting account greatly, blocks known exploits and provides protection from a range of attacks against web applications. So, if it is disabled, your websites will be more vulnerable. However it is possible to re-enable the mod_security module for your account in any moment if it is needed. To turn the mod_security module on it will be needed to start a chat conversation, to update this ticket or to create a new one and ask us to enable the mod_security module for your account.

this reply by my hosting company so what i should do now
because i am unable to add add cods etc

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,755
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: forbidden you dont have permission
« Reply #9 on: January 16, 2018, 09:20:16 AM »
Disable mod_security
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro