Проблема с apache
Проблема с apache
Установил по доке abills. Когда пытаюсь зайти на страницу http://localhost/abills/admin
Пишет прям на странице следующее
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at 192.168.2.109 Port 80</address>
</body></html>
В чем может быть проблема подскажите пожалуйста??? И как ее можно исправить. Я все поставил на centos 5.2
Пишет прям на странице следующее
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at 192.168.2.109 Port 80</address>
</body></html>
В чем может быть проблема подскажите пожалуйста??? И как ее можно исправить. Я все поставил на centos 5.2
[Wed Oct 29 16:01:23 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 29 16:01:23 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:04:53 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 29 16:06:55 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Oct 29 16:06:56 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 29 16:06:56 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 29 16:06:56 2008] [notice] Digest: done
[Wed Oct 29 16:06:57 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 29 16:06:57 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:10:17 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 29 16:10:27 2008] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
[Wed Oct 29 16:10:27 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 29 16:10:27 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 29 16:10:27 2008] [notice] Digest: done
[Wed Oct 29 16:10:27 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 29 16:10:28 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:12:55 2008] [error] [client 192.168.2.147] (13)Permission denied: exec of '/usr/abills/cgi-bin/admin/index.cgi' failed
[Wed Oct 29 16:12:55 2008] [error] [client 192.168.2.147] Premature end of script headers: index.cgi
[Wed Oct 29 16:30:42 2008] [error] [client 192.168.2.108] File does not exist: /var/www/html/HNAP1
[Wed Oct 29 16:30:45 2008] [error] [client 192.168.2.108] File does not exist: /var/www/html/TEADevInfo
[Wed Oct 29 16:30:48 2008] [error] [client 192.168.2.108] Directory index forbidden by Options directive: /var/www/html/
[Wed Oct 29 16:01:23 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:04:53 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 29 16:06:55 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Oct 29 16:06:56 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 29 16:06:56 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 29 16:06:56 2008] [notice] Digest: done
[Wed Oct 29 16:06:57 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 29 16:06:57 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:10:17 2008] [notice] caught SIGTERM, shutting down
[Wed Oct 29 16:10:27 2008] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
[Wed Oct 29 16:10:27 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 29 16:10:27 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 29 16:10:27 2008] [notice] Digest: done
[Wed Oct 29 16:10:27 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 29 16:10:28 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Oct 29 16:12:55 2008] [error] [client 192.168.2.147] (13)Permission denied: exec of '/usr/abills/cgi-bin/admin/index.cgi' failed
[Wed Oct 29 16:12:55 2008] [error] [client 192.168.2.147] Premature end of script headers: index.cgi
[Wed Oct 29 16:30:42 2008] [error] [client 192.168.2.108] File does not exist: /var/www/html/HNAP1
[Wed Oct 29 16:30:45 2008] [error] [client 192.168.2.108] File does not exist: /var/www/html/TEADevInfo
[Wed Oct 29 16:30:48 2008] [error] [client 192.168.2.108] Directory index forbidden by Options directive: /var/www/html/
И почему он пишет
[Wed Oct 29 16:06:55 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
Хотя
[root@computer cgi-bin]# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disable[root@computer cgi-bin]#
[Wed Oct 29 16:06:55 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
Хотя
[root@computer cgi-bin]# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disable[root@computer cgi-bin]#
[root@computer cgi-bin]# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disable[root@computer cgi-bin]#
если я ничего не путаю то вот означает что он отключен
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=disable[root@computer cgi-bin]#
если я ничего не путаю то вот означает что он отключен