Hello,
I'm trying to set up a web server using Linux Red Hat 4.1 (upgraded
kernel to 2.0.30) and apache 1.2b7
My problem is that user authentication is not working at all.
Here is my .htaccess file:
########################### begin .htaccess file #######################
AuthUserFile /foo/.htpasswd
AuthName Private stuff
AuthType Basic
require valid-user
#############################end .htaccess file #######################
and this is my access.conf:
############################### begin access.conf #####################
# access.conf: Global access configuration
# Online docs at http://www.apache.org/
# This file defines server settings which affect which types of services
# are allowed, and in what circumstances.
# Each directory to which Apache has access, can be configured with
respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# Originally by Rob McCool
# This should be changed to whatever you set DocumentRoot to.
<Directory /home/httpd/html>
# 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 (or at least, not yet).
Options Indexes Includes ExecCGI
# 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 AuthConfig
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
# /home/httpd/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory /home/httpd/cgi-bin>
AllowOverride AuthConfig
Options None
</Directory>
# Allow server status reports, with the URL of http://servername/status
# Change the ".nowhere.com" to match your domain to enable.
#<Location /status>
#SetHandler server-status
#order deny,allow
#deny from all
#allow from .nowhere.com
#</Location>
# You may place any other directories or locations you wish to have
# access information for after this one.
############################# end access.conf #########################
Any ideas on what migth be going on?
Thanks,
David
--
##############################################
# David R. Heffelfinger # 17320 Dahlgren Rd #
# Computer Scientist # Dahlgren, Va 22448 #
# NSWCDD Code N93 # Ph (540)653-2800 #
##############################################