htaccess problem

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

htaccess problem

Postby speedster » 02. September 2008 19:23

httpd-vhosts.conf looks like this, which works:

Code: Select all
NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>
  DocumentRoot C:/xampp/htdocs/
  ServerName localhost
</VirtualHost>

<VirtualHost mywebsite>
  DocumentRoot "C:/mywebsite/webroot"
  ServerName mywebsite

  CustomLog "C:/mywebsite/logs/example.local.access.log" combined
  ErrorLog "C:/mywebsite/logs/example.local.error.log"

  <Directory "C:/mywebsite/webroot">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  </Directory>


On C:/mywebsite/webroot I have this .htaccess

Code: Select all
RewriteEngine on

RewriteCond %{REQUEST_URI} !^/(debug|js|css|gfx|index\.php|data\.php)
RewriteRule ^(?:([^/?]+)/?)?(?:([^/?]+)/?)?$ /index.php?menuitem=$1&menuaction=$2&%{QUERY_STRING}


On linux this works fine, on xampp I get the message of an infinite loop

Anyone an idea?
speedster
 
Posts: 1
Joined: 02. September 2008 19:16

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 179 guests