腾达路由器配置apache外网访问本地服务器
①进入腾达路由器:http://192.168.0.1/index.html
②映射端口
③修改apache配置文件,然后重启,输入http://27.198.173.188:81外网即可访问本地服务器
Listen 81
<VirtualHost _default_:81>
DocumentRoot “C:\Users\Administrator\Desktop\181104\html”
<Directory “C:\Users\Administrator\Desktop\181104\html”>
Options -Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
注意80端口不怎么给力,改成别的端口