ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Getting 403 error in control panel!

November 12, 2010 4:03pm

Subscribe [3]
  • #1 / Nov 12, 2010 4:03pm

    roryrabbitfield

    320 posts

    I’m getting 403 errors when I try to do things in the control panel for my EE 1.6.8 site. We are hosted on Web Hero. What do you suggest? The links in the publish tab work, but pretty much nothing else. Will upgrading to 1.7 help? What about things to explore hosting-wise?

  • #2 / Nov 13, 2010 5:47pm

    Greg Salt

    3988 posts

    Hi Rory,

    We would always recommend upgrading to the latest version if you can. Have you run EE on this host before? Can you please check with your host whether the permissions you have set on the EE files are correct? Additionally, have you created an .htaccess file for use with this site?

    Cheers

    Greg

  • #3 / Nov 13, 2010 6:02pm

    roryrabbitfield

    320 posts

    This site has been on this server for a year; it is only just recently that my client reports these 403 errors. I have not changed anything about how the site works, and certainly I would not have changed anything that makes the CP links not work! So I am at a loss for what could have changed… my guess is that the host did something server side. I have found that I have quirky problems like this with EE on a variety of servers (except EngineHosting), and I’d like to understand better why these things happen. 

    Yes, I have an .htaccess file, I am using it to do away with index.php in my URLs. Contents below… Is there something that I should have in this file that I don’t have?

    #removes index.php using include method. trying to also remove the ? from after the .php part of the url
    RewriteEngine on
    RewriteCond $1 ^(weblog|member|search|site|includes|about|contact|books|print|identity|installations|P[0-9]{2,8}) [NC]
    RewriteRule ^(.*)$ /index.php?/$1 [L] 
    AddHandler php5-script .php
    
    
    # 404 handling
    ErrorDocument 404 /mysite/index


    RE: permissions: Can you give more info? What should I ask them? I set the permissions on the folders that needed to be writable by the system. Is there something specific I need to ask them? I find that when I go to hosts with problems they just have no idea what to say since they are not responsible for my software.

  • #4 / Nov 14, 2010 3:28pm

    Greg Salt

    3988 posts

    Hi Rory,

    The Installation Documentation gives general guidelines for the permissions required but this can vary on a per host basis depending upon how their systems are configured so your best bet is to point their support at this document and ask them to verify that the permissions you have set are correct for their environment.

    With regards to the .htaccess file can you please temporarily disable it by renaming it and then put index.php back into the General Configuration Site Index setting and then test this again.

    Cheers

    Greg

  • #5 / Nov 16, 2010 1:13pm

    roryrabbitfield

    320 posts

    I am happy to report that when I got in touch with the host, they seemed to know that something they had done on their end was the cause, and they fixed it. Thanks so much for your assistance.

  • #6 / Nov 16, 2010 5:55pm

    Ingmar

    29245 posts

    Very glad this one has been fixed. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases