载体:腾讯云windows服务器php
操做:部署禅道系统apache
Apache版本:2.4.25windows
结果:本地能够访问,外网没法访问服务器
缘由:1.Apache的配置文件 apache\conf\httpd.conf配置问题 2.公网防火墙未开启80端口app
解决方案:ide
1.配置更改ui
<Directory /> AllowOverride none Require all granted </Directory> <Directory "C:/xampp/htdocs"> Options FollowSymLinks AllowOverride All Allow from all Require all granted <Files "index.php"> SetHandler application/x-httpd-php </Files> <Files "zentao.php"> SetHandler application/x-httpd-php </Files> <Files "zentaopro.php"> SetHandler application/x-httpd-php </Files> </Directory>
2.防火墙增长80入站出站规则spa
最后,外网成功运行!code