Re: Httpd passworded directory problem fixed!

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

 



On Wed, 19 Nov 2003, Gilbert Sebenste wrote:

> Hello all,
> 
> OK. I'm slowly getting things working here.
> 
> On my old version of httpd, I included in my /etc/httpd/conf/access.conf 
> file:
> 
> ##
> ## access.conf -- Apache HTTP server configuration file
> ##
> 
> # This is the default file for the AccessConfig directive in httpd.conf.
> # It is processed after httpd.conf and srm.conf.
> #
> #
> <Directory /blah/blah/>
> AuthType Basic
> AuthName "The passworded directory"
> AuthUserFile /blah/blah/passwordfile
> require valid-user
> 
> This used to work under RedHat 9, where it forced you to log in to acces 
> sthe directory. Now, the directory is unprotected. Did something change 
> with this version of Apache? Yep, the password file is still there.

Yes, but this is no longer being used in a separate file. Now, you muist 
put this:

AuthType Basic
AuthName "The passworded directory"
AuthUserFile /blah/blah/passwordfile
require valid-user

Into a .htaccess file in the directory you want to protect. Then, it works 
fine. The old way of doing it has been discontinued.

*******************************************************************************
Gilbert Sebenste                                                     ********
(My opinions only!)                                                  ******
Staff Meteorologist, Northern Illinois University                      ****
E-mail: gilbert@xxxxxxx                                               ***
web: http://weather.admin.niu.edu                                      **
Work phone: 815-753-5492                                                *
*******************************************************************************




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux