Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » help installing SS.. error in rewritetest.php

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1822 Views
  • zakirs
    Avatar
    Community Member
    3 Posts

    help installing SS.. error in rewritetest.php Link to this post

    hi my installer showed everything was fine in install page and when iam going ahead with install it givs the following error ... iam testing SS on my own ubuntu , apache 2

    Warning: file_get_contents(http://localhost/ss/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/ss/rewritetest.php on line 47

    Warning: file_get_contents(http://localhost/ss/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/ss/rewritetest.php on line 47
    mod_rewrite doesn't appear to be working. Make sure:
    mod_rewrite is enabled in your httpd.conf
    AllowOverride is enabled for the current path.
    Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway.

  • pac
    Avatar
    Community Member
    25 Posts

    Re: help installing SS.. error in rewritetest.php Link to this post

    pretty much self explanatory :
    check that apache is compiled with mod_rewrite.
    and check your hhtpd.conf for AllowOverride on that virtual server.

  • zakirs
    Avatar
    Community Member
    3 Posts

    Re: help installing SS.. error in rewritetest.php Link to this post

    sry for being dumb ... iam noob .. well i have enabled mod_rewrite and can u explain the httpd.conf thing more please

  • pac
    Avatar
    Community Member
    25 Posts

    Re: help installing SS.. error in rewritetest.php Link to this post

    hum...enabling mod_rewrite is not just one click away, you are getting me worried, my friend.

    post a file info.php on you server with just these lines :

    <?
    phpinfo();
    ?>

    run it, it will tell you a lot about what's really happening on your server. and where things are... for more info on httpd.conf, google shall be your new friend

  • zakirs
    Avatar
    Community Member
    3 Posts

    Re: help installing SS.. error in rewritetest.php Link to this post

    well i enabled mod rewrite but still the error is coming ... in the start page it says rewrite is enabled ( well i had to fight for 12 hrs to enable that ) ... se noobs have difficult lives

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: help installing SS.. error in rewritetest.php Link to this post

    Double check that you've followed all the instructions under HTTP Server on the installation wiki:

    http://doc.silverstripe.com/doku.php?id=server-requirements

    Specifically, that you've configured apache.cnf with the following lines:

    <Directory "/location/of/silverstripe">
    Options FollowSymLinks SymLinksifOwnerMatch
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

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