.htaccess wir nicht benutzt von apache

Apache, Lighttpd, nginx, Cherokee
Post Reply
wookkie
Posts: 19
Joined: 2004-08-12 14:04
 

.htaccess wir nicht benutzt von apache

Post by wookkie »

Hallo,
ich benutze den Apache 1.3 aus dem Debian Woody Stable Paket mit NameBased Virtual Hosts.
Eigentlich scheint alles gut zu laufen - nur eine .htaccess-datei in einem beliebigen Verzeichnis wird überhaupt nicht interpretiert.
Die .htaccess Datei soll benutzt werden um ein Verzeichnis zu schuetzen.
Hat jemand eine Idee wieso das nicht klappt?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: .htaccess wir nicht benutzt von apache

Post by Joe User »

Lies bitte meine Signatur...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wookkie
Posts: 19
Joined: 2004-08-12 14:04
 

Aha

Post by wookkie »

Hallo,
hab es gerade selbst rausgefunden:
in der httpd .conf muss

<Directory />
AllowOverride AuthConfig
</Directory>

AllowOverride AuthConfig
statt
AllowOverride None
stehen
wookkie
Posts: 19
Joined: 2004-08-12 14:04
 

Noch nicht so ganz

Post by wookkie »

Was jetzt noch nicht so ganz klappt:
Bin ich jetzt in einem leeren Verzeichnis kommt die folgende Meldung.
Vorher hatte ich immer eine 403-Meldung.

Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.

Oder ist das der "bessere Fehler"?
kase
Posts: 1031
Joined: 2002-10-14 22:56
 

Re: .htaccess wir nicht benutzt von apache

Post by kase »

Code: Select all

<Directory />
AllowOverride None
</Directory>
<Directory /path/to/www/data>
AllowOverride +AuthConfig +Indexes
</Directory>
Post Reply