Hi Leute,
Ich bin grad am verzweifeln mit .htaccess und der httd.conf
Ich hab einen apache 2 mit mehrere virtuellen Hosts laufen welche auf unterschiedliche Ips zeigen ( 6er subnetz )
Die Domain weist auf die Haupt IP
http://www.live-networks.de
Dort wollte ich jetzt den haupt ordner mit htaccess schützen.
Auszug aus meiner httd.conf
Code
# forbid access to the entire filesystem by default
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
AllowOverride All
Order allow,deny
Allow from all
</Files>
Alles anzeigen
.htaccess:
Apache Configuration
AuthType Basic
AuthName "Interner Bereich"
AuthUserFile /srv/www/htdocs/chaosagency.de/html/.htusers
require user Admin
.htusers:
Hab ich was übersehen oder was falsch gemacht?
weil wie ihr seht wenn ihr auf die domain geht es passiert nichts.
Und ich habe schon unmengen von varianten der htaccess und httd conf durch. Es kommt einfach keine AUth Aufforderung.
Vielleicht könnt ihr mir ja helfen.
MFG
$niperwolf