overriding authenticating a user

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2007
laredotornado@zipmail.com
 
Posts: n/a
Default overriding authenticating a user

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

  #2 (permalink)  
Old 02-24-2007
shimmyshack
 
Posts: n/a
Default Re: overriding authenticating a user

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

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0