2017-02-20 74 views
0

我正在使用WAMP。爲什麼我的手機會返回HTTP 403錯誤,即使相同的代碼在模擬器中工作?

<Directory /> 
    AllowOverride none 
    Require all denied 
    Allow from all 
</Directory> 

phpMyAdmin的別名

alias /phpmyadmin "c:/wamp64/apps/phpmyadmin4.6.4/" 

<Directory "c:/wamp64/apps/phpmyadmin4.6.4/"> 
    Options Indexes FollowSymLinks MultiViews 
    AllowOverride none 
    Require all granted 

    <ifDefine APACHE24> 
     Require all granted 
    </ifDefine> 
    <ifDefine !APACHE24> 
     Order Deny,Allow 
     Deny from all 
     Allow from all 
    </ifDefine> 
+0

請更新您的Apache版本的問題。 – nvisser

+0

你想從手機上使用phpMyAdmin嗎? – RiggsFolly

+0

我正在使用2.4.23版本的Apache –

回答

0

錯誤解決

在虛擬主機我做了這個變化

主機名test.test:下面

httpd.conf中給出.de DocumentRoot在/ var/WWW/XXX/

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

相關問題