Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problems with mod_rewrite on xampp, Win Vista

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: 91576 Views
  • fraklez
    Avatar
    8 Posts

    Problems with mod_rewrite on xampp, Win Vista Link to this post

    Im trying to install Silverstripe on my XAMPP on Windows Vista.

    Everything is fine except that it complains about my mod_rewrite:

    "You need mod_rewrite to run SilverStripe CMS, but it is not enabled."

    So I went to my apache/conf/httpd.conf

    ..and removed the # from the following line:

    LoadModule setenvif_module modules/mod_setenvif.so

    Shouldnt this fix the problem? What did I miss?

  • Synaps1s
    Avatar
    8 Posts

    Re: Problems with mod_rewrite on xampp, Win Vista Link to this post

    You are activating the false Module, mod_rewrite is here:

    LoadModule rewrite_module modules/mod_rewrite.so

    Still, if the installer says that the mod don't work, forget it, i had the same problem with
    installer, just hop on to the next step after getting the error message, it's because the
    rewritetest.php doesnt work on vista for some strange reasons, but fist make sure that you
    actually LOAD the mod_rewrite!

    Then make the installation, and if the rewritetest.php just stops after 2-3 min's jump to this url:
    http://localhost/YOUR_SILVERSTRIPE_DIR/home/successfullyinstalled?flush=1

  • fraklez
    Avatar
    8 Posts

    Re: Problems with mod_rewrite on xampp, Win Vista Link to this post

    My bad!

    I accidentally pasted the wrong line from my conf file to my previous post.

    The mod_rewrite IS activated.

    Thanks for your help.

    However, you said I could skip to the next step of my installation eventhough the error message wouldnt go away..but the system wont allow it, there is no 'intall' button --> the error message is RED.

    Im assuming your error message was in orange, which allowed you to continue tha installation, or?

    Any other ideas?

  • Synaps1s
    Avatar
    8 Posts

    Re: Problems with mod_rewrite on xampp, Win Vista Link to this post

    ooo.. then it can't find the mod_rewrite, do the following:

    Create a new file called info.php and add the following code:

    <? phpinfo(); ?>

    save it as info.php in main http-root directory, then open it from your server (http://localhost/info.php) this should give you a lot of info about your settings, check out the section with loaded modules in apache, if the mod_rewrite is there then the problem maybe is your .htaccess file in the main silverstripe dir, make sure it have the following line:

    RewriteEngine On

    Hope this helps!

  • NathanNZ
    Avatar
    Community Member
    6 Posts

    Re: Problems with mod_rewrite on xampp, Win Vista Link to this post

    I was getting an error when installing Silverstripe on Vista SP1 / wamp - an error page was displayed saying rewritetest.php was taking too long to respond.

    I borrowed the suggestion above to skip directly to the success page (http://localhost/YOUR_SILVERSTRIPE_DIR/home/successfullyinstalled?flush=1), and found that the installation had in fact completed successfully, as far as I can tell.

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