This is a discussion on overriding authenticating a user within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I'm running Apache 2. At my root directory, I have an .htaccess file to require a password. The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I'm running Apache 2. At my root directory, I have an .htaccess file to require a password. The file contents are AuthType Basic AuthUserFile "/path/to/password/files/.htpasswd" AuthName Limited! require valid-user However, at a sub-directory, I'd like users to be able to access the sub-directory without having to type in a username or password. Is that possible? If so, what would I have to include in any .htaccess file? Thanks, - Dave |
|
|||
|
On Feb 23, 11:15 pm, "laredotorn...@zipmail.com"
<laredotorn...@zipmail.com> wrote: > Hi, > > I'm running Apache 2. At my root directory, I have an .htaccess file > to require a password. The file contents are > > AuthType Basic > AuthUserFile "/path/to/password/files/.htpasswd" > AuthName Limited! > require valid-user > > However, at a sub-directory, I'd like users to be able to access the > sub-directory without having to type in a username or password. Is > that possible? If so, what would I have to include in any .htaccess > file? > > Thanks, - Dave in sub directory .htaccess, or in the Directory stanza applied to that subdirectory Order Deny,Allow Satisfy Any should suffice |