I've been using Xampp for some time now, and are very happy with it. I use it to develop websites locally.
Today I changed the settings to allow virtualhost-redirection. That way I want to prevent the renaming of folders to htdocs constantly if I want to change the website I am working on. For the DNS I use SimpleDNSPlus. This is set up so it redirects all domains ending with .dev to 127.0.0.1.
Then I enables virtualhost in httpd.conf and entered the following section in httpd-vhosts.conf:
- Code: Select all
<VirtualHost *:80>
VirtualDocumentRoot "D:/Websites/%-2+"
ServerName %-2+.dev
ServerAlias www.%-2+.dev
<Directory "D:/Websites/%-2+">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
This works absolutely fine. The only thing is that when I use URL-rewriting in my .htaccess I get a 403-error...
So: seperatly mod_rewrite and virtualhost work as they should, but combined they break. Anybody any idea? I'm using version 1.6.0a