Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Problems with mod_rewrite on xampp, Win Vista

Go to End

5 Posts   91955 Views


8 Posts

19 October 2007 at 12:53am

Edited: 19/10/2007 12:59am

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/

Shouldnt this fix the problem? What did I miss?


8 Posts

19 October 2007 at 1:50am

You are activating the false Module, mod_rewrite is here:

LoadModule rewrite_module modules/

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:


8 Posts

19 October 2007 at 2:44am

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?


8 Posts

19 October 2007 at 3:43am

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!


Community Member, 6 Posts

3 June 2008 at 11:11am

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.