Page 1 of 1

Access forbidden!

PostPosted: 17. March 2016 01:02
by geojay
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!

Re: Access forbidden!

PostPosted: 17. March 2016 01:23
by geojay
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