FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 04-07-2008, 02:37 AM
"Thomas Dukes"
Default Apache Authorization Access Control - location ofhtpasswd in Centos 5.1?

From: centos-bounces@centos.org
[mailto:centos-bounces@centos.org] On Behalf Of Pam Astor
Sunday, April 06, 2008 9:59 PM
To: CentOS mailing
Subject: RE: [CentOS] Apache Authorization Access Control -
location ofhtpasswd in Centos 5.1?

> > > > I tried creating a password file by executing htpasswd
> > /passwd/passwords
> > > > famsite but apparently
htpasswd is not in my path, I’m getting the
> > > > “cannot
create file /passwd/passwords famsite” error.
> > >
> >
> That rather sounds like the path /passwd/passwords does not exist or

> > is not
> > > writable.
> > >
> >

> > Well, I just tried chomd 777 passwords and still the same
> Can you show us what the result of the

> ls -l /passwd/passwords
> command
Thanks for asking there, actually the problem*has
been*solved, I deleted the passwords
dir and chmoded 777 the passwd dir
and the unsername and password were created
by htpasswd.*
chmod to 777
is never*a good thing.* I believe the file needs to be owned by
root*with group ownership to apache at 640.* There are also
requirements on the .htaccess file as well.
At one time,
and it may still be, there was an example in*one of the /etc/httpd
directories*using mysql to*do
the authentication rather than apache.* It might be a little more secure
but not by*much if you're not using

Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how.
CentOS mailing list

Thread Tools

All times are GMT. The time now is 04:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org