Jump to:

4873 Posts in 7260 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » "Friendly URLs are not working." at installation process

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

    "Friendly URLs are not working." at installation process Link to this post

    Hello people,

    I tried to install silverstripe 2.3.6 on my server but the installation process stopped at the "Friendly URLs are not working." message:

    • Creating 'mysite/_config.php'...
    • Creating /home/dentalclinic/htdocs/mysite/_config.php
    • Creating '.htaccess' file...
    • Creating /home/dentalclinic/htdocs/.htaccess
    • Building database schema...
    • Checking that friendly URLs work...
    • Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:
      • mod_rewrite is enabled
      • AllowOverride All is set for your directory

    - mod_rewrite is enabled. The specific line in the installation page was highlighted green.
    - AllowOverride All is also set for the site's directory in apache.

    So what else could be wrong?

    Thank you in advance.

  • dizzy_fingers
    Avatar
    Community Member
    2 Posts

    Re: "Friendly URLs are not working." at installation process Link to this post

    An update to my attempts to bypass the errors:

    - Tried to do what is listed here http://stackoverflow.com/questions/1768300/friendly-urls-not-working-modrewrite-enabled-what-gives but I found from that is that AllowOverride All indeed exists, as a "fdfssfsfds" line in the .htaccess created a 500 error.
    - Also the mod_rewrite works since I don't get an error when I go to the http://www.site.com/about-us/ page and the data is shown OK, except for the .css, .js and images. The url of the .css file, for example, is http://www.site.com/index.php/themes/tutorial/css/layout.css?m=1266957292. If I remove this "index.php" string, the css is loaded.

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