Using 'localhost' with Apache 1.3 HTTP basic authentication?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • conradwt@runbox.com

    Using 'localhost' with Apache 1.3 HTTP basic authentication?

    Hi, I'm configuring a PHP script to use HTTP Basic Authentication.
    Thus, is it possible to test basic authentication using 'localhost'?
    If so, could someone send me a working .htaccess file because the
    following doesn't seem to launch the login dialog:

    AuthType Basic
    AuthName "TEST HOST"
    AuthUserFile C:/wwwroot/testhost/passwd/.htpasswd
    AuthGroupFile /dev/null
    <Limit Get>
    Require valid-user
    Order allow,deny
    Deny from all
    Satisfy all
    </Limit>

    Thanks in advance,

    -Conrad

Working...