in reply to Re: Re: A way to get the User in a variable from htpasswd?
in thread A way to get the User in a variable from htpasswd?

  1. Don't use <limit GET POST>. Stop limiting the limits!
  2. I don't see all of your .htaccess. Do you have anything that actually requires authentication, like require valid-user?
  3. Are you sure your .htaccess is being read (make a syntax error and you should get error 500: that's the quickest test)?
  4. Are you sure the .htaccess file applies to the CGI area and not just the text files?

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: A way to get the User in a variable from htpasswd?
by electronicMacks (Beadle) on Jul 11, 2001 at 00:39 UTC
    I was having a similar problem, and traced it to merlyn's #4 above.

    Turns out my apache was only set up to allow .htacces on certian directories, not including /cgi-bin/ once that was changed everything worked.

    Thanks Randal! :)