Einzelnen Beitrag anzeigen
  #1  
Alt 07.06.2006, 22:23:31
Benutzerbild von starwhooper
starwhooper starwhooper ist offline
Anfänger
 
Registriert seit: Jun 2006
Ort: Lübeck
Beiträge: 3
Fehler 403 bei ändern der Documentroot beim Apache 2.2

Moin moin aus dem kühlen Norden. ich habe Probleme meine Documentroot in der httpd.conf anzupassen.

Folgendes habe ich getan:
  • Ich habe Fedora Core 5 mit Apache 2.2 installiert.
  • Ich habe das Verzeichnis /mnt/transfer/www/starwhooper.local erstellt
    Besitzer von www und dessen inhalt ist user apache und gruppe apache. Der rest gehört root wurde für alle Freigegeben (chmod 777).
  • In der httpd.conf habe ich folgendes ersetzt:
    Code:
    DocumentRoot /var/www/html
    gegen
    Code:
    DocumentRoot "/mnt/transfer/www/starwhooper.local"
  • und folgendes ergänzt:
    Code:
    <Directory /mnt>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>
    <Directory /mnt/transfer>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>
    <Directory /mnt/transfer/www>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>
    <Directory /mnt/transfer/www/starwhooper.local>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>
  • Der httpd-Dienst wurde von mir neu gestartet
  • ich folgende Dateien in das Verzeichnis starwhooper.local abgelegt: index.htm, index.html und index.php

Ich erhalte aber folgende Fehlermeldung in des error_log:
Code:
[Wed Jun 07 22:51:15 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.php denied
[Wed Jun 07 22:51:15 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.html denied
[Wed Jun 07 23:18:14 2006] [notice] caught SIGTERM, shutting down
[Wed Jun 07 23:18:14 2006] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
[Wed Jun 07 23:18:14 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 07 23:18:14 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 07 23:18:14 2006] [notice] Digest: done
[Wed Jun 07 23:18:14 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations
[Wed Jun 07 23:18:28 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.php denied
[Wed Jun 07 23:18:28 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.html denied
[Wed Jun 07 23:18:30 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.php denied
[Wed Jun 07 23:18:30 2006] [error] [client 192.168.0.112] (13)Permission denied: access to /index.html denied
und der Webbrowser zeigt mir das Willkommenbild von Apache (sprich Error 403)
Wo liegt mein Fehler ?

Geändert von starwhooper (10.06.2006 um 10:41:47 Uhr)
Mit Zitat antworten