Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

403 Forbidden error (16 replies)

$
0
0
Hello,

I know this is a frequent question, but I followed a lot of the answers online and still get this error. I installed the latest version of WampServer (3.1.3 64-bit), put my test site and it worked on localhost, but when I put it online I get a 403 Forbidden. In the other answers it says to make a new Virtual Host, so I did.

# Virtual Hosts
#
<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"
  <Directory "${INSTALL_DIR}/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
  </Directory>
</VirtualHost>

#
<VirtualHost *:80>
    ServerName example.com
    DocumentRoot "c:/wamp64/www/example_com"
    <Directory  "c:/wamp64/www/example_com/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Still, I get 403 Forbidden error.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>