Home  >  Article  >  Backend Development  >  wampserver3.0.4 mobile access appears 403

wampserver3.0.4 mobile access appears 403

WBOY
WBOYOriginal
2016-08-04 09:21:00907browse

After installing wampserver3.0.4, I hope to be able to access the page using my mobile phone. People online say that I need to modify it in httpd.conf in apache

<code class="js">#   onlineoffline tag - don't remove
    Require local
#   修改为     
#   onlineoffline tag - don't remove
    Require all granted    </code>

But it doesn’t work, how to configure it?

Reply content:

After installing wampserver3.0.4, I hope to be able to access the page using my mobile phone. People online say that I need to modify it in httpd.conf in apache

<code class="js">#   onlineoffline tag - don't remove
    Require local
#   修改为     
#   onlineoffline tag - don't remove
    Require all granted    </code>

But it doesn’t work, how to configure it?

Thanks for the invitation, I don’t know whether the wampserver3.0.4 installed by the questioner is on the local machine or the server,

If you are on this machine, you must make sure that your mobile phone and your computer are in the same local area network,

If there is no problem with the above configuration, try adding configuration in http.conf

<code> Options +indexes  
 Order deny,allow  
 Require all granted</code>

wamp has two modes: offline and online.
Click on wamp’s menu to see if the mode has been switched.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn