RewriteEngine not allowed

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

RewriteEngine not allowed

Postby klezmer41 » 08. December 2009 06:12

I have XP machines that worked perfectly with xampp, and then I got Windows 7 and my vhosts aren't working anymore. The vhost file is exactly the same, windows host file exactly the same. I did test a basic vhost that didn't have an .htaccess file in it, that worked fine. Here's the error:

[Mon Dec 07 18:48:12 2009] [alert] [client 127.0.0.1] C:/xampp/htdocs/xampp/codeigniter/trunk/html/public/.htaccess: RewriteEngine not allowed here
klezmer41
 
Posts: 3
Joined: 08. December 2009 06:07

Re: RewriteEngine not allowed

Postby Izzy » 08. December 2009 07:09

klezmer41 wrote:[Mon Dec 07 18:48:12 2009] [alert] [client 127.0.0.1] C:/xampp/htdocs/xampp/codeigniter/trunk/html/public/.htaccess: RewriteEngine not allowed here
What XAMPP version?

C:\xampp\htdocs\ is the location to place your own files not in the C:\xampp\htdocs\xampp\ folder as this is basically the XAMPP demo files folder.
(See \xampp\readme_en.txt file and here http://www.apachefriends.org/en/xampp-windows.html#1168)

You could try moving your own files into the htdocs folder and check the error message again.

You can also delete the 2 XAMPP index files and replace with your own, then to access the XAMPP demo (Welcome) pages use http://localhost/xampp/index.php
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: RewriteEngine not allowed

Postby klezmer41 » 08. December 2009 07:39

Ha! That fixed it! I had an older xampp on XP, many years I used /xampp/htdocs/xampp to store all my crap :P Silly me. Thank you!
klezmer41
 
Posts: 3
Joined: 08. December 2009 06:07


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 100 guests