I am really close to having a meltdown here. I did a fresh install of XAMPP because of some trouble with starting MySQL database. The fresh install fixed that problem, but now I cant access localhost/project1.
The folder is placed in the htdocs folder and I just get the "Access forbidden!" message when I try to access it in my browser. I've spent 5 hours on this now and getting pretty pretty pretty desperate. All I want is to finish my assignment. Can anyone help me? Feels like I've tried EVERYTHING. Why is this even a problem?
I think this is also one way for rectifying Access forbidden Error 403 . Please Follow these steps.
First Process:-
Step 1:-
<VirtualHost *:8001> ServerAdmin "[email protected]" DocumentRoot "D:\XAMPP\htdocs\xyz" ServerName "localhost:8001" <Directory "D:\XAMPP\htdocs\xyz"> Allow from all </Directory> </VirtualHost> Note:-xyz is a project name.
Step 2:-
Goto \XAMPP\apache\conf\httpd.conf file and chenge
Listen 8001 and ServerName localhost:8001
Restart your xampp and i think now everything is fine.
Note:-(Url:- localhost:8001/xyz)
Second Process:-
Step 1:-
# # New XAMPP security concept # <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow Allow from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>