You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by kp...@raleigh.ibm.com on 1999/01/28 16:37:51 UTC

Re: os-windows/3196: Continuing problems with root directories of other drives

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: Continuing problems with root directories of other drives

State-Changed-From-To: open-feedback
State-Changed-By: kparz@raleigh.ibm.com
State-Changed-When: Thu Jan 28 07:37:48 PST 1999
State-Changed-Why:
Richard,

I just tried this with Apache 1.3.5-dev 
(a tarball from 1/27/99) on NT 4.0 SP3.
(this setup is basically what you did
in your last attempt)

Alias /croot/ c:/

<Directory "c:/">
AuthUserFile "userauth.uaf"
AuthType Basic
AuthName RestrictedInformation
require user foo
</Directory>


And this worked for me.  Maybe you can try this
again with Apache 1.3.4?

Couple of things to watch for:
-Browsers (like IE) may add a trailing '/' to 
your URL, so that is the reason the Alias needs the
trailing '/'
-Make sure you haven't already entered the userid and
password for another restricted area, otherwise the
browser caches that info and will not ask you again, and
it may appear as though you got to the index without
authorization.

Let us know! 

Thanks for using Apache.