On Wed, 21 Mar 2001 14:43:44 "Gill, Vern" wrote:
>I am having trouble, mostly cuz I suffer from CRS syndrome. How does
>one set up basic authorization for a directory in apache? This what
>I've got, and it ain't workin;
><Directory /home/httpd/html/dynamic>
>        AuthName Hostname
>        AuthUserFile /home/httpd/passwdfiles/dynamic
>        AuthType Basic
>        <Limit GET PUT POST>
>                require valid-user
>        </Limit>
>        Options ExecCGI FollowSymlinks
></Directory>
>
>Created password file with htpasswd -c
>/home/httpd/passwdfiles/dynamic user
>
>/home/httpd/passwdfiles/dynamic;
>user:password
>
>It isn't prompting for auth. What am I missing?

Try this:

<Directory /home/httpd/html/dynamic>
  <Limit GET PUT POST>
    AuthName Hostname
    AuthUserFile /home/httpd/passwdfiles/dynamic
    AuthType Basic
    require valid-user
    satisfy any
  </Limit>
</Directory>


>Also, do I need the Options line at all for this to work?

No. You should be careful where you enable ExecCGI.

-- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to