Access forbidden! New XAMPP security concept. Error 403
During development and seeing unforced/unwanted errors… after all a few mins R&D and research , we got a solution at two different websites … but individually they were bit incomplete and on combining both solutions , we got the issue resolved
Open httpd-vhosts.conf file and in the bottom of the file change it
Here E:/xampp is project workspace, we can change it as per our settings and Second Change is
Now Open httpd-xampp.conf file and in the bottom of the file change it
# New XAMPP security concept
Allow from all
NOTE : Make sure we backup files ( httpd-xampp.conf ) and ( httpd-vhosts.conf ) , Both Files are located in Drive:\xampp\apache\conf\extra
Solution 2:
We have to allow Apache to access the root folder of your LAMP files:
Edit the conf file in /etc/apache2/sites-available/yourconffile.conf
Enter following:
Solution 3:
This worked for us with Ubuntu 11.10 and version 1.7.7 in httpd.conf we’ve added the # in the directory to have it work with vhosts. vhosts were located outside of the root folder...
And change user and group from nobody to our username:
Solution 4:
We are using XAMPP 1.6.7 on Windows 7.
We added the following lines in the file httpd-vhosts.conf at C:/xampp/apache/conf/extra.
we had also uncommented the line # NameVirtualHost *:80
After restarting the apache, it were still not working. Then we had to follow by editing the file C:/Windows/System32/drivers/etc/hosts.
Related Searches to Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)
xampp virtual host access forbidden macyou don't have permission to access the requested directory xamppxampp access forbidden new xampp security conceptaccess forbidden xampp windows 10access forbidden xampp windows 7apache2 403 vhostwindows apache 403 forbidden access deniedapache virtual host permissionswamp server 403 forbidden you don't have permission to access / on this serverxampp access forbidden you don't have permission to access the requested directorywamp apache forbidden accessapache forbidden from outsideforbidden access is denied apache wampwamp forbidden windowswamp windows 10 forbiddenwamp 3.0.6 forbidden