15.01.01, 23:03
Hallo Leute,
ich möchte einen virtuellen Server Passwort schützen. Als erstes sende ich euch einen Auszug meine httpd.conf, als zweites meine .htaccess Datei im Root-Verzeichnisses des betreffenden virtuellen Servers.
Was mache ich falsch ?
--- httpd.conf ---
<Directory "/usr/local/apache/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
--- .htaccess ---
AuthType Basic
require valid-user
AuthUserFile /usr/local/apache/passwd/passwords
------------------
http://suse-linux.dyndns.org/vbulletin/images/suse.jpg
ich möchte einen virtuellen Server Passwort schützen. Als erstes sende ich euch einen Auszug meine httpd.conf, als zweites meine .htaccess Datei im Root-Verzeichnisses des betreffenden virtuellen Servers.
Was mache ich falsch ?
--- httpd.conf ---
<Directory "/usr/local/apache/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
--- .htaccess ---
AuthType Basic
require valid-user
AuthUserFile /usr/local/apache/passwd/passwords
------------------
http://suse-linux.dyndns.org/vbulletin/images/suse.jpg