Jump to:

4938 Posts in 16484 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » won't install - change content of 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: 1882 Views
  • Audster
    Avatar
    Community Member
    6 Posts

    won't install - change content of htaccess Link to this post

    Having trouble with install, I think I know why but don't know how to fix - would much appreciate if anyone knows.

    Have done the change ownsership of htaccess and it's at 777.

    I think I have to change something in htaccess.

    My host provider says:
    Our servers use Apache's standard mod_rewrite, enabling you to create applications that are user friendly, search engine ready and help to reduce malicious access to the inner workings of your code.

    Example code:
    RewriteEngine on
    RewriteOptions inherit
    RewriteBase /bin-cgi/
    RewriteRule ^.cgi$ - [T=application/x-httpd-cgi]

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: won't install - change content of htaccess Link to this post

    ...what is the error?

  • Audster
    Avatar
    Community Member
    6 Posts

    Re: won't install - change content of htaccess Link to this post

    sorry for late reply,

    I know that mod_rewrite is enabled on the server (shared hosting)

    At the install screen, I get these two errors:

    1
    Is the .htaccess file writeable?   User 'domain2301642' needs to be able to write to this file:
    /home/fhlinux132/s/silverstripe.myupdater.co.uk/user/htdocs/.htaccess

    The file is currently owned by 'root'. There is no user-group that contains both the web-server user and the owner of this file. Change the ownership of the file, create a new group, or temporarily make the file writeable by everyone during the install process.

    2
    Webserver Configuration

    Server software   I can't tell what webserver you are running. Without Apache I can't tell if mod_rewrite is enabled.
    mod_rewrite enabled   I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself.

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: won't install - change content of htaccess Link to this post

    have you tried changing the ownership of the file, creating a new group, or temporarily making the file writeable by everyone during the install process?

  • Audster
    Avatar
    Community Member
    6 Posts

    Re: won't install - change content of htaccess Link to this post

    I have changed ownership and made it writeable by all (it's at 777)

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