>>>Привет,
>>>
>>>Посмотрите также какие права на /var/www стоят... Apache требует по йерархии всегда
>>>иметь exec право...
>>>
>>>WWell,
>>
>>проверил - права на /var/www вроде в норме:
>>[root@comp ~]# ls -la /var/
>>**************
>>drwxr-xr-x 6 root root
>>4096 Sep 12 18:59 www
>>**************
>>
>>Заметил странную вещь, после перезагрузки компьютера - апач страницу не отдаёт и
>>выскакивает ошибка 403. Отстреливаю апач и заново его стартую - доступ
>>есть, загружается index.php из DocumentRoot.
>>Как так получается? Не пойму.
>какая os, какой apache?
>как запускаешь apache? Что в log'ах? os:Fedora 4, apache:ver.2.0.xx
при старте ОС соответственно апач стартует автоматом, но в этом случае он не отдаёт страницу. Если сделать kill апачу и стартануть его в ручную - всё едет без проблем.
Вот лог:
[Thu Sep 21 15:52:05 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 21 15:52:05 2006] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 21 15:52:05 2006] [notice] Digest: done
[Thu Sep 21 15:52:05 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Sep 21 15:52:05 2006] [notice] LDAP: SSL support unavailable
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2245 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2246 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2247 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2248 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2251 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2252 successful.
[Thu Sep 21 15:52:06 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Thu Sep 21 15:52:06 2006] [info] Server built: Jul 26 2006 11:00:19
[Thu Sep 21 15:52:06 2006] [debug] prefork.c(956): AcceptMutex: sysvsem (default: sysvsem)
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2249 successful.
[Thu Sep 21 15:52:06 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/fileCtZxh6 in child process 2250 successful.
[Thu Sep 21 16:05:38 2006] [error] [client 172.17.17.1] (13)Permission denied: access to /index.php denied
[Thu Sep 21 16:05:38 2006] [error] [client 172.17.17.1] (13)Permission denied: access to /index.html denied
###########Видно как я пытаюсь зайти на комп со своего IP 172.17.17.1 и мне отказано в доступе,
###########далее я убиваю процесс httpd.
[Thu Sep 21 16:14:57 2006] [info] removed PID file /etc/httpd/run/httpd.pid (pid=2222)
[Thu Sep 21 16:14:57 2006] [notice] caught SIGTERM, shutting down
###########А потом - идут строки после того, как я в ручную запустил апач и всё ОК.
[Thu Sep 21 16:15:08 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 21 16:15:09 2006] [notice] Digest: generating secret for digest authentication ...
[Thu Sep 21 16:15:09 2006] [notice] Digest: done
[Thu Sep 21 16:15:09 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Sep 21 16:15:09 2006] [notice] LDAP: SSL support unavailable
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2863 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2864 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2865 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2866 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2867 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2868 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2869 successful.
[Thu Sep 21 16:15:09 2006] [debug] util_ldap.c(1681): Initialisation of global mutex /tmp/file0t0x0B in child process 2870 successful.
[Thu Sep 21 16:15:09 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Thu Sep 21 16:15:09 2006] [info] Server built: Jul 26 2006 11:00:19
[Thu Sep 21 16:15:09 2006] [debug] prefork.c(956): AcceptMutex: sysvsem (default: sysvsem)