Jump to:

4952 Posts in 14417 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » 403 Error on install

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2334 Views
  • Mike Mairangi
    Avatar
    Community Member
    8 Posts

    403 Error on install Link to this post

    I've successfull installed Silverstripe onto my hosting company's server and accessed the CMS to modify the home page from the install page however when I try and access either the home page or the login page I get a 403 Forbidden error-

    Forbidden
    You do not have permission to access this document.

    I've checked all the file permissions and they seem ok so I'm stuck as to what to do next.

    Any help would be much appreciated.

    Cheers

    Mike

    BTW I loaded a basic index.html file to test the host and this worked ok.

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: 403 Error on install Link to this post

    This often has something to do with .htaccess and the server not agreeing with something in there.

    Try commenting out commands in that file (use # to comment). Start with the RewriteBase / line.

    Failing that, try adding this to the top of your .htaccess.

    php_value memory_limit 64M
    php_value allow_call_time_pass_reference 1

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    Make sure you backup the original in case this isn't the cause of the problem.

    Cheers
    Aaron

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: 403 Error on install Link to this post

    Ignore what I said in my last post for now - I was thinking 500 errors.

    Can you add this to your .htaccess:

    Options FollowSymLinks

    Let us know.
    Aaron

  • Mike Mairangi
    Avatar
    Community Member
    8 Posts

    Re: 403 Error on install Link to this post

    Thanks Aaron!

    I had created a folder, silver, under the httpdocs root directory with all files stored under this. The hosting company told me that because as I didn't have an index file under httpdocs there was nothing to start the application. They also changed permissions on .htaccess to 644?

    Everything works ok but only if I add /silver or /silver/admin to the URL. I've tried moving everything to the root directory httpdocs and removing index.html but this stops everything. I'm sure there must be a simple solution to this but I'm lost as to what it is unless your - Options FollowSymLinks - solves this?

    Thanks a million!

    Mike

    2334 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.