WAMP 403 Forbidden message on Windows 7

后端 未结 26 1619
抹茶落季
抹茶落季 2020-11-27 12:51

I have installed WAMP version 2.1 on my windows 7 machine. When i browse to localhost in my browser, the WAMP server page is visible.

But when I browse to my IP in m

26条回答
  •  北海茫月
    2020-11-27 13:20

    The access to your Apache server is forbidden from addresses other than 127.0.0.1 in httpd.conf (Apache's config file) :

    
        Options Indexes FollowSymLinks
        AllowOverride all
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
    
    

    The same goes for your PHPMyAdmin access, the config file is phpmyadmin.conf :

    
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order Deny,Allow
            Deny from all
            Allow from 127.0.0.1
    
    

    You can set them to allow connections from all IP addresses like follows :

    AllowOverride All
    Order allow,deny
    Allow from all
    

提交回复
热议问题