V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  scxiaoxu  ›  全部回复第 1 页 / 共 1 页
回复总数  2
2017-10-24 13:19:52 +08:00
回复了 scxiaoxu 创建的主题 Apache 线上正式环境中的 apache 怎么配置
<VirtualHost *:8081>

ServerAdmin [email protected]

DocumentRoot "${SRVROOT}/htdocs/wechat"

ServerName gongzhonghao.tcgames.vip

ErrorLog "logs/gongzhonghao.log"

CustomLog "logs/gongzhonghao.log" common

<Directory "${SRVROOT}/htdocs/wechat">
Options -Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>

</VirtualHost>
2017-10-24 13:18:54 +08:00
回复了 scxiaoxu 创建的主题 Apache 线上正式环境中的 apache 怎么配置
是的,但是我现在在 vhost 里面配置了没用,这个是我现在配置的
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2626 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 01:49 · PVG 09:49 · LAX 18:49 · JFK 21:49
Developed with CodeLauncher
♥ Do have faith in what you're doing.