Problems with authentication in Apache 2 on RH8

From: Scott Navarre (scott_navarre_at_yahoo.com)
Date: 05/12/04


Date: Tue, 11 May 2004 21:01:43 -0700

Hi,

  I am trying to get authentication working for cgi-bin, on the default
Apache that came with RedHat 8.0 (Apache 2.0.40).
  I have the /etc/httpd/conf/httpd.conf with the following:
<Directory "/var/www/cgi-bin">
    #AllowOverride None
    #Options None
    #Order allow,deny
    #Allow from all
    AuthType Basic
    AuthName "Test"
    AuthUserFile /var/www/passwd/passwords
    Require valid-user
</Directory>

  I also created a /var/www/passwd directory and ran:
    htpasswd -c /var/www/passwd/passwords test
to create a user 'test'.

  Finally, I went into Services and restarted httpd.

  Then I tried to run a script in http://localhost/cgi-bin/, which gives the
username/password window.
  The problem is that it doesn't seem to be accepting my username/password!
It keeps giving me the username/password window again.
  Am I missing something???

Thanks in advance,
  Scott Navarre



Relevant Pages

  • Problems with authentication in Apache 2 on RH8
    ... Apache that came with RedHat 8.0. ... #AllowOverride None ... It keeps giving me the username/password window again. ...
    (comp.os.linux.misc)
  • RE: redhat-list Digest, Vol 10, Issue 42
    ... GUI for Sendmail and Apache ... Compiling vsftpd on Redhat AS2.1 failed ...
    (RedHat)
  • Re: Solution for Floating-Point Errors
    ... If you aren't a jerk, you probably know the right answer.. ... "How do I get Apache 2.0 working with RedHat 6.0?" ... "*There is no compiled suite of Apache 2.0 for Redhat 6.0" ...
    (comp.lang.javascript)
  • Re: Nimda + apache
    ... I think you'll find that the bit at the bottom of your apache .conf file was ... your Tomcat webapps directory. ... > AllowOverride None ... > deny from all ...
    (NT-Bugtraq)
  • Re: Linux as mail/proxy server?
    ... > Obtuse Smtpd Mail Srv / Squid Proxy Srv) ... is a single box running RedHat. ... Remote offices connect to factory WAN with SonicWall VPN. ... But we only use the VPN to access company mail, apache document retrieval, ...
    (comp.os.linux.networking)