[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Web Auth.



Here's the httpd.conf
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "/var/www/html">
    Options Indexes Includes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

.htaccess
AuthType Basic
AuthName "Secure area"
AuthUserFile /somewhere/save/.htpasswd
require valid-user


To use .htaccess you must allowoverride auth and something else can't quite
remember.
But this is my setup.

-----Original Message-----
From: Brent L. Cox [mailto:redhatmail charter net] 
Sent: Saturday, May 31, 2003 3:57 PM
To: redhat-list redhat com
Subject: Re: Web Auth.


I do have a .htpasswd and .htaccess files do you have any 
examples of them.
thanks,

On Sat, 31 May 2003 15:45:00 -0400
  Jason Staudenmayer <jasons NJAQUARIUM ORG> wrote:
>That's not going to ask for a usrname and passwd.
>You'll a need .htaccess file in that dir with the right 
>info.
>And a .htpasswd file with user names and passwd's.
>
>
>AuthType Basic
>AuthName "Secure area"
>AuthUserFile /.htpasswd
>require valid-user
>
>
>
>
>-----Original Message-----
>From: Brent L. Cox [mailto:redhatmail charter net] 
>Sent: Saturday, May 31, 2003 3:39 PM
>To: redhat-list redhat com
>Cc: peter peltonen fivetec com
>Subject: Re: Web Auth.
>
>
>yeah I did stop and start the server.
>this is the entry that I have put in my httpd.conf 
>
><Directory "/var/www/html/php:>
>         AllowOverride None
>         Deny from from all
>         
>         Order allow,deny
></Directory>
>
>would this be correct?
>
>On 31 May 2003 22:26:16 +0300
>   Peter Peltonen <peter peltonen fivetec com> wrote:
>>On Sat, 2003-05-31 at 22:10, Brent L. Cox wrote:
>>> ok I have edited the httpd.conf file but I do not get a 
>>> prompt for User ID and Password. Can someone give me an 
>>> Example what the entry is suposed to look like in the 
>>> httpd.conf.
>>
>>Did you remember to restart Apache after making changes 
>>to httpd.conf?
>>
>>Regards,
>>Peter
>>
>>
>>-- 
>>redhat-list mailing list
>>unsubscribe 
>>mailto:redhat-list-request redhat com?subject=unsubscribe
>>https://www.redhat.com/mailman/listinfo/redhat-list
>
><TEXTAREA NAME="Signature" ROWS="4" COLS="60"><TEXTAREA 
>NAME="Signature" ROWS="4" COLS="60">
>
>
>-- 
>redhat-list mailing list
>unsubscribe 
>mailto:redhat-list-request redhat com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>-- 
>redhat-list mailing list
>unsubscribe 
>mailto:redhat-list-request redhat com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list

<TEXTAREA NAME="Signature" ROWS="4" COLS="60"><TEXTAREA 
NAME="Signature" ROWS="4" COLS="60">


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]