Apache 的 mod_fcgid 設定(suexec) - BBS

Table of Contents

我使用 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

不知道是否有人嘗試過?

--

All Comments