Hallo,
habe folgendes Problem:
Möchte einen virtellen Host über eine .htaccess Funktion schützen.
Habe Suse 9.3 und folgende Einstellungen:
http.conf
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride AuthConfig
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>
vhost.conf
<VirtualHost 172.29.174.12>
<IfDefine SSL>
SSLEngine off
</IfDefine>
DocumentRoot /christian/Apache/Lederberg
AccessFileName .htaccess
<Directory "/christian/Apache/Freigabe_1">
##AllowOverride All
##Options Indexes Include FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>
ServerName www.xxx.org
ServerAdmin info@beilfuss.de
</VirtualHost>
.htaccess
#
#.htacces für xxx.net
#
AuthUserFile /christian/Freigabe_1/.passwd
AuthName "Protected Area"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
Leider habe ich das problem, das ich trotzdem direkt die Internetseite angezeigt bekomme, also gar keine Abfrage kommt.
Was habe ich falsch gemacht?????
christian
Lesezeichen