Jump to:

4952 Posts in 14256 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » can't access admin page after install - htaccess?

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: 1499 Views
  • hcanning
    Avatar
    Community Member
    2 Posts

    can't access admin page after install - htaccess? Link to this post

    Hi,
    the link to the SS (latest version) admin page doesnt work. During install i get prompt saying unsure if mod rewrite is enabled. It is in htaccess?

    htaccess##

    ### SILVERSTRIPE START ###
    <Files *.ss>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Files>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /cms-auto/silverstripe

    RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)

    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
    </IfModule>
    ### SILVERSTRIPE END ###

    Any ideas guys? Thanks

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: can't access admin page after install - htaccess? Link to this post

    Could you check your server has mod_rewrite enabled? Also what server setup are you using, and is it a shared host?

  • hcanning
    Avatar
    Community Member
    2 Posts

    Re: can't access admin page after install - htaccess? Link to this post

    Hi,
    I am with Godaddy and was able to install it thru the applications section in the control panel perfectly. Uploading it via ftp seemed to cause problems for me though. mod_rewrite doesnt apppear enabled in phpinfo but godaddy say it is enabled. Its a shared host.
    Anyway its working now.
    Thanks

    1499 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.