auto_prepend_file 多个站点就出问题了

auto_prepend_file=”/mnt/wwwroot/a.com/safe.php”
[HOST=a.com]
open_basedir=/mnt/wwwroot/a.com/:/tmp/
[PATH=/mnt/wwwroot/a.com]
open_basedir=/mnt/wwwroot/a.com/:/tmp/
[HOST=b.com]
open_basedir=/mnt/wwwroot/b.com/:/tmp/
[PATH=/mnt/wwwroot/b.com]
open_basedir=/mnt/wwwroot/b.com/:/tmp/

站点目录
a.com  对应/mnt/wwwroot/a.com
b.com  对应/mnt/wwwroot/b.com
然后在a.com 下面php都能正常访问
可是b.com 下面就的php 都不能访问,500错误,是不是 这样算跨站,就不能访问了

未经允许不得转载:好日子分享 » auto_prepend_file 多个站点就出问题了

赞 (0) 打赏

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏