wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe 允许外网访问

Apache允许配置的文件
D:\wamp\bin\apache\apache2.4.9\conf
修改地址


 "d:/wamp/bin/apache/apache2.4.9/cgi-bin" should be changed to whatever your ScriptAliased
 CGI directory exists, if you have that configured.

<Directory "d:/wamp/bin/apache/apache2.4.9/cgi-bin">
    AllowOverride None
    Options None
    Require all granted  #加上这个允许外网访问
</Directory>

<IfModule mime_module>
在require local前面加上  #
   onlineoffline tag - don't remove
        # Require local

</Directory>

phpmyadmin允许外联配置方法

<Directory "d:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
  <IfDefine APACHE24>
    Require all granted 
    #Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
      Deny from all
      Allow from all
      # Allow from localhost ::1 127.0.0.1 
    </IfDefine>
  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360
</Directory>
已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页