1

I'm having a problem with Apache server 2.4.9 error number 403.

i've been trying to fix it on my own using all this solutions:

  1. Options +Indexes in .htaccess file.
  2. changing the default in httpd.conf.
  3. chmod +775 www folder.
  4. changing the hosts file in windows/system32

Here is my configuration in httpd.conf:

Require all granted

And the httpd-vhosts.conf:

Require all granted
Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
Hellflash
  • 13
  • 5

1 Answers1

0

Add the "require all granted" in your vhost configuration inside the directory.

<VirtualHost *:80>
    HostName test.test.de
    DocumentRoot /var/www/xxx/

    <Directory /var/www/xxx>
        Require all granted
    </Directory>
</VirtualHost>

Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)

Community
  • 1
  • 1
René Höhle
  • 26,716
  • 22
  • 73
  • 82