.htaccess im DocomentRoot

W

wolle64

Grünschnabel
Hi!

------------------------ hhtd.conf-----------------------
# forbid access to the entire filesystem by default
<Directory />
Options All
AllowOverride All
Order deny,allow
Deny from all
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

----------------------------------------------------------

Irgendwie funktioniert der Passwortschutz nicht, wenn ich die .htaccess in obiges Directory (DocumentRoot) reinspiele. Kopiere ich die .htaccess in ein Unterverzeichniss dagegen funktioniert der Passwortschutz ohne Probleme.
Kann jemand helfen?
Bs: Suse 11. Trage ich den Inhalt der .htaccess im Directoryabschnitt in der httpd.conf ein, dann gehts auch beim Documentroot ohne Probleme.

MfG Wolle
 

Ähnliche Themen

Probleme mit virtual hosts

Repository-Freigabe funktioniert nicht

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Apache /var/www zu /home/ich/www wechseln

Windows clients können nicht mehr auf lange laufendes System zugreifen

Zurück
Oben