4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1972 Views |
-
403 Error on install

29 April 2009 at 2:00pm Last edited: 29 April 2009 2:39pm
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.
-
Re: 403 Error on install

29 April 2009 at 11:46pm Last edited: 29 April 2009 11:47pm
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 -
Re: 403 Error on install

29 April 2009 at 11:51pm
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 -
Re: 403 Error on install

30 April 2009 at 7:16am Last edited: 30 April 2009 7:17am
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
| 1972 Views | ||
|
Page:
1
|
Go to Top |


