htaccess problem
Posted: 02. September 2008 19:23
httpd-vhosts.conf looks like this, which works:
On C:/mywebsite/webroot I have this .htaccess
On linux this works fine, on xampp I get the message of an infinite loop
Anyone an idea?
- 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?