作者xam (听说)
看板FreeBSD
标题[问题] Apache 的 mod_fcgid 设定(suexec)
时间Wed Apr 16 12:33:14 2008
我使用 Apache2.2 配合 mod_fcgid 来跑 php 程式
如果是跑 Virtual Host 下的 php 程式,看起来是没有问题
Ex:
http://host/index.php
但是如果要配合 mod_userdir 则会出问题
Ex:
http://host/~user/index.php
会出现 Internal Server Error
=> /var/log/httpd-error.log <==
suexec policy violation: see suexec log for more details
==> /var/log/httpd-suexec.log <==
[2008-04-16 12:24:23]: command not in docroot (/usr/local/www/data/php-cgi)
我在 fcgid 的官方网页都没找到相关的资讯
http://fastcgi.coremail.cn/doc.htm
只有在讨论区找到有人提过一样的问题, 不过那时似乎无解
http://www.mail-archive.com/[email protected]/msg00060.html
不知道是否有人尝试过?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.168.3.197