> -----Original Message----- > From: Dave Challener [mailto:challene@xxxxxxxxxxxxx] > Sent: Monday, November 06, 2006 8:59 PM > To: sfeehan@xxxxxxxxxxxx > Cc: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] .htaccess > > > Well I tried all those suggestions, and had no effect. > Then I copied the .htaccess file from the subdirectory into a > <Directory> ... </Directory> in the httpd.conf file > erased the .htaccess file. This is an alternative strategy - neither is "best", they each have their pros and cons and the choice of which technique to use depends on circumstances (see http://httpd.apache.org/docs/2.2/howto/htaccess.html). > > rebooted the server... ...unnecessarily... "apachectl graceful" would've been sufficient. > AND IT WORKED! > Go figure.... Did you ever look in the error log? If you had, you might've seen something like, "cannot read .htpasswd, permission denied error" (as posited by Sander). > no idea what was wrong, but I don't care now > that it works.....:-D Well that's the main thing, isn't it... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Thanks for the help! > > Thanks! > David Challener > > > > > > > sfeehan@xxxxxxxxxxxx (Steve Feehan) > > 11/06/2006 11:57 AM > Please respond to > users@xxxxxxxxxxxxxxxx > > To > users@xxxxxxxxxxxxxxxx > cc > Subject > Re: [users@httpd] .htaccess > > > > > > > On Mon, Nov 06, 2006 at 08:13:04AM -0800, Sander Temme wrote: > > > > On Nov 6, 2006, at 7:34 AM, Dave Challener wrote: > > > > >HOWEVER... it won't accept any of the userid / password > > >combinations I give it. > > > > What are the permissions on /root/SOadmin/.htpasswd, can the web > > server child processes read it? They do not run as root, so > you need > > world-readable on that file. You might need world-readable on all > > directories above it, too. > > > > S. > > The file should not be world readable, rather readable by the user > and/or group that apache runs as. The file should generally not be > writable by the apache user/group. So if apache is running as group > 'www' then the following permissions would be advisable: > > chown root:www /root/SOadmin/.htpasswd > chmod 640 /root/SOadmin/.htpasswd > > Also, the parent directories don't need to be world readable, but > only executable to the user/group that apache runs as. > > -- > Steve Feehan > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx