[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probleme mit Apache Standard-Konfiguration



Hallo Tille,,

* Tille, Andreas <TilleA@rki.de> [19-04-02 10:03]:
> Hallo,
> 
> bisher lief mein Apache immer mit den ewig bewährten Standard-Konfigurationen
> auch unter Woody.  Nun hatte ich aber einen Grund die Standard-Konfiguration
> zu benutzen und dabei ist mir aufgefallen, daß weder die Nutzerverzeichnisse
> noch http://localhost/doc ansprechbar sind.  Ich habe geprüft, daß in
> /etc/apache/httpd.conf die userdir Optionen ordentlich gesetzt sind und doch
> bekomme ich im Errorlog von Apache:

/etc/apache/httpd.conf:

LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so  

<IfModule mod_userdir.c>
    UserDir public_html 
</IfModule>

<Directory /home/*/public_html>
    AllowOverride All
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all  
    </Limit>
    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Order deny,allow
        Deny from all   
    </Limit>
</Directory>

Alias /doc/ /usr/share/doc/

<Location /doc>
  order deny,allow
  allow from all
  allow from 192.168.0.0/255.255.255.0
  Options Indexes FollowSymLinks MultiViews
</Location>

> Damit kann ich aber absolut nichts anfangen.  Die Standard-Konfiguration
> scheint sich stark verändert zu haben und eine Dokumentation, was ich zum
> benutzen der Nutzerverzeichnisse in public_html und auch zur doc unter
> /usr/doc (link /var/www/doc ist natürlich nach wie vor gesetzt) kann ich
> nicht finden.  Da gibt es z.B. folgende Fehlermeldung:

Ich habe keinen Link gesetzt. durch das Alias /doc /usr/share/doc
biegt Apache das schon um. Einfach ein Verzeichnis mit dem Namen
doc anlegen und nicht mit Inhalten füllen. Dann sollte dich Apache
nach /usr/share/doc umleiten.

> [Thu Apr 18 07:08:01 2002] [error] [client 127.0.0.1] File does not exist:
> /usr/htdocs/doc/dahb-html

Das hat doch aber nix mit dem Link von /var/www/doc auf /usr/doc zu
tun.

Prüfe mal nach, ob das alles so gesetzt ist in deiner
/etc/apache/httpd.conf und melde dich nochmal.

Gruss Udo

-- 
Alkohol soll ja gleichgültig machen.....
					Na und?

Attachment: pgpLHnewVEr7X.pgp
Description: PGP signature


Reply to: