[問題] Apache 的 mod_fcgid 設定(suexec)

看板FreeBSD作者 (聽說)時間17年前 (2008/04/16 12:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
我使用 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/mod-fcgid-users@lists.sourceforge.net/msg00060.html 不知道是否有人嘗試過? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.168.3.197
文章代碼(AID): #181O6DC5 (FreeBSD)
文章代碼(AID): #181O6DC5 (FreeBSD)