tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Problem with Web Page access
@ 1999-05-20 23:14 Larry Griffith
  0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1999-05-20 23:14 UTC (permalink / raw)
  To: tru64-unix-managers

Dear Managers,

     I'm not sure if this is a T64U problem or an Apache problem, so
I'm posting here in the hope you can help.

     Our Web server is running T64U v4.0dp3 and Apache v 1.3.6.
Apache is launched from inetd (we're a low volume site and the server
must do other duties).  Under the root directory of the Web Page tree
I have two directories I'll call A and B.  I want to require an
account name and password for these two directories when Apache
accesses them on behalf of a browser.  I put an .htaccess and
.htpasswd file in each.  As far I can tell, they are identically
configured except for the directory names and the "title" (AuthName)
displayed.  However, when I use Netscape (either from T64U or from my
PC) I am challenged to give the account name and password when
attempting to browse directory A, but not directory B.

     Here's the stuff I've checked:

$ ls -algd /usr/local/Web/A

drwxr-xr-x   4 root     http        8192 May 20 18:16 /usr/local/Web/A

$ ls -algd /usr/local/Web/B

drwxr-xr-x   2 root     http        8192 May 19 17:27 /usr/local/Web/B

$ ls -alg /usr/local/Web/A/.ht*

-rw-r--r--   1 root     http         129 May 20 18:16 /usr/local/Web/A/.htaccess
-rw-r--r--   1 root     http          22 Feb  5 16:03 /usr/local/Web/A/.htpasswd

$ ls -alg /usr/local/Web/B/.ht*

-rw-r--r--   1 root     http         121 May 19 17:27 /usr/local/Web/B/.htaccess
-rw-r--r--   1 root     http          22 May 20 18:35 /usr/local/Web/B/.htpasswd

$ cat /usr/local/Web/A/.htaccess

AuthUserFile /usr/local/Web/A/.htpasswd   
AuthName "Title for directory A"   
AuthType Basic   
require valid-user 

$ cat /usr/local/Web/B/.htaccess

AuthUserFile /usr/local/Web/B/.htpasswd   
AuthName "Title for directory B"   
AuthType Basic   
require valid-user 

	Neither directory is mentioned in the httpd.conf file.

	I have tried browsing the directories in both orders, clearing
the disk and memory cache in Netscape before each operation.  Netscape
is the built-in version for T64U and 4.5 on my PC.

        What am I missing here?

							Larry

============================================================================
Larry Griffith                       Dept. of Computer & Info Science
larry@cs.wsc.ma.edu	             Westfield State College
(413) 572-5294                       Westfield, MA 01086 USA
PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html
============================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-05-20 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-20 23:14 Problem with Web Page access Larry Griffith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox