mod_rewrite rule

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mod_rewrite rule

Postby samwilliamh » 24. November 2007 22:52

How do I activate the mod_rewrite rule for .htaccess (RewriteUrl)? I've heard I need to set something in httpd.conf but i'm not sure what. Help, please?
Posts: 2
Joined: 24. November 2007 22:16

Postby Izzy » 24. November 2007 23:21

You need to uncomment this line:
#LoadModule rewrite_module modules/

To this:
LoadModule rewrite_module modules/

Then in your .htaccess file you need to turn on the rule:
RewriteEngine on

Then you usually add the RewriteBase Directive:
RewriteBase /

Then below this add your rules.


1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
Posts: 3344
Joined: 25. April 2006 17:06

Postby samwilliamh » 25. November 2007 10:08

Thanks, i've done what you said but then when I stop apache and then try to start it again I get this error:


I've done exactly as you've said and I can't figure out why it's doing this.
Posts: 2
Joined: 24. November 2007 22:16

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests