I'm using Xampp 1.8.3-4 on windows 64 bits, installed on D:\xampp folder.
Then i'm try to use VirtualHost, but does not work... When i try to access it, returns a 403 error... How i do to fix it?
The http://localhost is fine... only in the vhost has the problem... and in the D:\xampp\apache\conf\httpd.conf the line that includes the vhost configs is uncommented...
- Code: Select all
Include conf/extra/httpd-vhosts.conf
Below, my D:\xampp\apache\conf\extra\httpd-vhosts.conf
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "D:/xampp/htdocs"
ServerName localhost
ServerAlias localhost
ErrorLog "logs/localhost-error_log.log"
CustomLog "logs/localhost-access_log.log" common
<Directory "D:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# laravel4.local
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "D:/teste"
ServerName laravel4.local
ServerAlias laravel4.local
ErrorLog "logs/laravel4.local-error_log.log"
CustomLog "logs/laravel4.local-access_log.log" common
<Directory "D:/teste">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>