Either
1) the script is not being run by Apache, or
2) the script is not being protected.
Make sure the htaccess is protecting the CGI's directory/file/location and that it protecting all submission methods (GET and PUT, and any other allowed method) for the directory. I've seen lots of .htaccess that use
<Limit GET>Require valid-user</Limit>
instead of just
Require valid-user
Omit the Limit. Why would anyone want to limit their security to just one submission method?
In reply to Re: CGI getting htaccess userid
by ikegami
in thread CGI getting htaccess userid
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |