Access forbidden!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Access forbidden!

Postby geojay » 17. March 2016 01:02

I've just upgraded to XAMPP 5.5.33, I think I was previously on 1.7.3 but I'm not sure. I renamed the old XAMPP folder before installing the new one and then copied the MySQL data across which seemed to work. XAMPP is installed at Z:\xampp\ and I'm on Windows.

I'm getting a 403 error on http://localhost/dev/ instead of the local version of a website I work on.

Prior to starting XAMPP I copied the following lines from the old httpd.conf to the new one:

Code: Select all
Alias /dev "Z:\dev\site\www"
<Directory "Z:\dev\site\www">
   Options Indexes MultiViews FollowSymLinks
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>


Can anyone suggest what the issue might be and what I should do?

Many thanks!
geojay
 
Posts: 12
Joined: 09. February 2010 13:44

Re: Access forbidden!

Postby geojay » 17. March 2016 01:23

OK, it seems that http://httpd.apache.org/docs/2.4/upgrading.html#access provides the answer!

In this example, all requests are allowed.
2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted

geojay
 
Posts: 12
Joined: 09. February 2010 13:44


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests