RewriteRule in XAMPP [htaccess]

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

RewriteRule in XAMPP [htaccess]

Postby Chad » 11. October 2010 03:21

Before I get started I'm going to tell you I went into "apache/conf/httpd.conf" changed the following:

"#LoadModule rewrite_module modules/"
"LoadModule rewrite_module modules/"


"AllowOverride None"
"AllowOverride All"
(in three different spots)

But it still isn't working.

This is an example of what I'm trying to mod_rewrite in .htaccess
Code: Select all
RewriteRule ^register(|/)$ /register.php
RewriteRule ^register_submit(|/)$ /register.php?doSubmit
RewriteRule ^register/cancel(|/)$ /register-cancel.php
RewriteRule ^register/undefined(|/)$ /index.php

But when I go to "" it says 404 ERROR, but if I go to "" it works... but when it has no file extension it doesn't work.

Posts: 1
Joined: 11. October 2010 03:18

Re: RewriteRule in XAMPP [htaccess]

Postby JonB » 11. October 2010 16:56

Do any of the other rewrites work?

I'm hoping there is a 'RewriteEngine On' directive in there.... :?:

User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 54 guests