2016-04-23 19 views
4

私は私のウェブサイトを実行しようとすると、それは500 internal server errorを示しています'suexec policy violation'はウェブサイトが実行されないようにしますか?

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. 

More information about this error may be available in the server error log. 

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. 

エラーログは言う:

[cgi:error] [pid 13006] [client 141.101.104.167:28335] AH01215: suexec policy violation: see suexec log for more details: /home/myweb/public_html/cgi-bin/index.cgi 
[cgi:error] [pid 13006] [client 141.101.104.167:28335] End of script output before headers: index.cgi 

そしてSuexecのログは言う:

[2016-04-23]: uid: (500/myweb) gid: (500/myweb) cmd: index.cgi 
[2016-04-23]: error: target uid/gid (500/500) mismatch with directory (500/500) or program (0/0) or trusted user (0/10) 

問題がsuexecからと思われるので、私はそれをチェックすることにしたので、WHM/Configure PHP and suEXECの状態で、私はそれを無効にしてウェブサイトを再度実行しようとしましたが、何も変わらず、私は再びそれを有効にしましたが、ウェブサイトはまだ実行できません。

私は/usr/local/apache/conf/httpd.confに行って、ディレクティブを削除:

<IfModule !mod_disable_suexec.c> 
    <IfModule !mod_ruid2.c> 
     SuexecUserGroup myweb myweb 
    </IfModule> 
    </IfModule> 

しかし、それは問題を解決していなかったと、ウェブサイトはまだ500 internal server error

を示して私が、その後777から755/home/myweb/public_html/cgi-bin/のTE許可を変更775でも問題は残っています。

この問題の解決を手伝ってもらえますか?

答えて

-2
は、すべてのファイル

と楽しむために755へのアクセス権を変更する

問題が適切でないアクセス許可です。

関連する問題