Host File
- Code: Select all
127.0.0.1 site.dev
httpd-vhosts.conf
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName site.dev
RewriteEngine On
RewriteRule "^site.dev$" "site.dev\subfolder" [R]
DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
The result is I end up on the XAMMP Dashboard still not the subfolder thats in my C:\xampp\htdocs\subfolder