17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 91361 Views |
-
Problems with mod_rewrite on xampp, Win Vista

19 October 2007 at 12:53am Last edited: 19 October 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/mod_setenvif.so
Shouldnt this fix the problem? What did I miss?
-
Re: Problems with mod_rewrite on xampp, Win Vista

19 October 2007 at 1:50am
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 -
Re: Problems with mod_rewrite on xampp, Win Vista

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?
-
Re: Problems with mod_rewrite on xampp, Win Vista

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!
-
Re: Problems with mod_rewrite on xampp, Win Vista

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.
| 91361 Views | ||
|
Page:
1
|
Go to Top |

