problem with basic authentication on apache 2.0 Error 401

problem with basic authentication on apache 2.0 Error 401

Post by Tony » Sun, 10 Nov 2002 04:01:59



I am having a problem with basic authentication on apache 2.0

Here is part of my config file

<Directory "/home/www/html/xxx/yyy/zzz/admin">
        Options MultiViews
        Order deny,allow
        allow from all
        AuthType Basic
        AuthName "Login"
        AuthUserFile /home/www/html/xxx/yyy/zzz/passwd
        require user admin
</Directory>

I get a 401 authorization required and no authentication pop up box.

any ideas?

please help

thanks

 
 
 

1. How do I use CGI for 401 basic authentication page protection?

Hi,

I'm currently trying to get a CGI to do the security checking on a
particulair www site. The problem is, as far as I can tell apache
(linux) doesn't give the password back to the binary, or even the user
back in the enviroment of the CGI.

I have the following needs for security:

1] The CGI binaries must be protected too with the 401 security
2] I need to be able to turn password checking on or off on the fly
3] Need to be able to change the password on the fly
4] Need to know WHO the user is so I can serve him the right page from
a CGI binary.

I know most of this can be done by altering a .htaccess file with a
CGI, but the CGI's themselves are NOT protected in a 401 scheme.
Putting a .htaccess file in the cgi directory doesn't help..

Does anybody have an idea on how to get the user or password into the
cgi-binary, or know how to do this better?

(As a small other question, does anybody know an easy way to let a CGI
bin be the index.html substitute, without have to put a redirect in an
indexfile?)


2. wasted $160+ on two LINUX distros

3. Problem with Error Document 401 (Apache 1.3.12)

4. xfree86 and diamond stealth 3d 4000

5. Apache 2.0 SSL Basic Authentication

6. strange syslog messages --> char-major-111

7. apache 401 error documents on completely locked hosts?

8. Q: ROSS HyperSPARC damages SS20?

9. HELP: Apache, SunOS5.1, .htaccess and 401 Authorization required error

10. 401 or 403 Apache Custom Error

11. Apache : problem redirecting 401 return code to CGI - process explosion!

12. Basic authentication problem: Browsers or Apache?

13. Problems w/ Directory Indexing and Basic Auth in apache 2.0