2016-04-23 6 views
4

Когда я пытаюсь запустить свой веб-сайт это показывает 500 internal server error: журнал«Нарушение правил suexec» предотвращает запуск моего веб-сайта?

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

Я изменил тэ разрешения /home/myweb/public_html/cgi-bin/ от 777 к 755 затем 775 но проблема все еще существует.

Помогите решить эту проблему.

ответ

-2

изменить права доступа к 755 для всех файлов

и наслаждаться!

Проблема в соответствующих разрешениях