Can't get CERN httpd 3.0 Authorization (passwd) to work!

Can't get CERN httpd 3.0 Authorization (passwd) to work!

Post by Jim Bur » Fri, 29 Dec 1995 04:00:00



I'm trying to configure my server to use authorization for the first time
for some pages, but all versions of Netscape, as well as Mosaic for Windows
get "Authorization failed, retry" message.

I recompiled the 3.0 server this morning for my NCR (AT&T) Unix platform.  It
compiled cleanly.  I started the server in verbose error logging mode and got
these messages:

............ End of group file dump
Basic....... username: test
Matching.... username "test" agains pwrec "test:XS9pGUXVZ7ciw"
Passwd...... Matching encrypted "XSAGHg5ifgw3c" with "XS9pGUXVZ7ciw" =>
-INCORRECT-
INCORRECT... password for test

My httpd.conf file looks like this for the security part:

Protect /private/*      {
        UserID          httpd
        GroupId         www
        ServerId        MyAuth
        AuthType        Basic
        PasswordFile    /etc/httpd.users
        GroupFile       /etc/httpd.groups
        Get-Mask        group, user
 }

The userid/password inserted into /etc/httpd.users using htadm is test/test.

The URL for the page in question is:
http://netserver.harrahs.com/private/hello.html
and it can be hit from anywhere.

Any information that would help me find out the answer would be appreciated.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~ Manager, Development Engineering               ~
~ Harrah's Entertainment, Inc.  Memphis, TN USA  ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

Can't get CERN httpd 3.0 Authorization (passwd) to work!

Post by Torsten Hothor » Sat, 30 Dec 1995 04:00:00


Hello Jim,

try a seperate file. The line in /etc/httpd.conf should be

Protect /path/to/your/page     /path/to/config_file

A sample configuration-file and other information about this question is
shown at

http://www.w3.org/pub/WWW/Daemon/User/Config/AccessAuth.html

Hope that helps

Torsten

 
 
 

1. CERN ftp server can't open PASV for CERN httpd 3.0

    Hello

    Could you help me ?
  I am running CERN proxy httpd 3.0 libwww 2.17 on IRIX 4.0.5.
  When I attempt to retrive files from cern ftp ftp://ftp.w3.org/pub/src/
  using Mosaic   I get the message "530 Can't open passive connection".
  But from other ftp servers, for example ftp://ftp.telebit.com I don't
  get such a message and everything is OK. May be I have configured my
  httpd.conf not correctly ? Or something else ?

   Regards

+-----------------------------------------------------------------+

|                                                                 |
| St. Petersburg's                   http://www.pnpi.spb.ru/      |
| Nuclear Phisics Institute                                       |
| Russia                                                          |
+-----------------------------------------------------------------+  

2. Network Time Protocol (xntp) help needed

3. CERN httpd: Suppressing CERN Reference on authorization failures

4. error message

5. CERN HTTPD 3.0 or NCSA HTTPD 1.3?

6. d2utxt-0.1.tar.gz -- tools for converting Unix and MS-DOS text files

7. CERN HTTPD 3.0 -- Can't create logs and pid file

8. Abit BE6 (ATA66) Question

9. CERN httpd 3.0 - HostCache - how does it work ?

10. user authorization w/Cern httpd

11. CERN 3.0 Script Access Authorization

12. Cern httpd 3.? : Problem using authorisation

13. CERN httpd 3.0 - accessing page without having to enter ".html" extension