Después de haber definido lo del log a debug y haber recargado el apache, intenta navegar a localhost, y mira que mensaje de error _nuevo_ aparece. No hace falta que nos copies todos los mensajes que salen, sino unicamente los que salen después de hacer cada cambio.
Entonces, entiendo que lo que te sale es esto:
[Tue Jun 12 22:35:17 2007] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
Voy a compararlo con uno mio:
[Mon Jun 19 19:54:08 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /~cer denied
Y eso puedo mirarlo en el access_log también:
127.0.0.1 - - [19/Jun/2006:19:54:08 +0200] "GET /~cer HTTP/1.1" 403 404 "-" "Links (2.1pre17; Linux 2.6.11.4-21.12-cer i686; 126x31)"
El directorio "/~cer" es relativo, no exacto - y eso dificulta mucho las cosas, no te dice cual es el directorio exacto para el que no tiene permiso - aunque poner el log en debug ayuda.
En el error_log: ahira viene ás completito jejeje: [Wed Jun 13 00:51:32 2007] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Jun 13 00:51:32 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Jun 13 00:51:32 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Jun 13 00:51:32 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Wed Jun 13 00:51:32 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Jun 13 00:51:32 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d [Wed Jun 13 00:51:32 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Wed Jun 13 00:51:32 2007] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Jun 13 00:51:32 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Jun 13 00:51:33 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Jun 13 00:51:33 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Jun 13 00:51:33 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d [Wed Jun 13 00:51:33 2007] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations [Wed Jun 13 00:51:33 2007] [info] Server built: Nov 25 2006 19:58:33 [Wed Jun 13 00:51:33 2007] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem) En el access_log: 127.0.0.1 - - [13/Jun/2007:00:45:08 +0200] "GET / HTTP/1.1" 403 1162 "-" "Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.2) Gecko/20061023 SUSE/2.0.0.2-1.1 Firefox/2.0.0.2"
Sigamos investigando.
¿Cual es el directorio raiz que se sirve? Pues está definido en "/etc/apache2/default-server.conf" (para la consulta que estamos haciendo):
DocumentRoot "/srv/www/htdocs"
Options None AllowOverride None Order allow,deny Allow from all </Directory>
Sí, es clavado (exactamente igual)
Eso es lo que trae por defecto. ¿Y los permisos? Pues deben ser legibles para TODO el mundo, en TODO el trayecto:
/srv drwxr-xr-x root root /srv/www drwxr-xr-x root root /srv/www/htdocs drwxr-xr-x root root /srv/www/htdocs/index.html -rw-r--r-- root root
drwxr-xr-x 4 root root 4096 feb 18 21:19 ./ drwxr-xr-x 21 root root 4096 jun 13 00:51 ../ drwxr-xr-x 2 root root 4096 nov 25 2006 ftp/ drwxr-xr-x 5 root root 4096 may 28 21:31 www/ -------------------------- drwxr-xr-x 5 root root 4096 may 28 21:31 ./ drwxr-xr-x 4 root root 4096 feb 18 21:19 ../ drw-rw-rw- 2 root root 4096 feb 18 21:24 cgi-bin/ drw-rw-rw- 4 root root 4096 feb 18 21:21 htdig/ drw-rw-rw- 9 root root 4096 jun 11 17:12 htdocs/ --------------------------- drw-rw-rw- 9 root root 4096 jun 11 17:12 ./ drwxr-xr-x 5 root root 4096 may 28 21:31 ../ -rw-r--r-- 1 root root 11024 jun 10 23:53 index.html -rw-r--r-- 1 root root 10415 jun 10 23:53 index.php --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org