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

  DocumentRoot C:/xampp/htdocs/
  ServerName localhost

<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

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?
Posts: 1
Joined: 02. September 2008 19:16

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 62 guests