On 7/23/05, John Hinton webmaster@ew3d.com wrote:
I'm hitting a snag with htaccess. Have created .htaccess and .htpasswd files, set up apache directory options just like always... the exact same setup works fine on CentOS 3, but I can't seem to get it to authenticate on CentOS 4? Am I just being blind stupid (as in not seeing something 'exactly the same') or is there something different I'm missing? I have selinux running in warn mode I think it was, but not fully enabled.
Well, operating off the assumption of blind stupidity... you *did* remember the AllowOverride option to be able to actually use htaccess files right? Just to be safe, you might also ls -Z the files to be sure they have the proper context for selinux. I've heard rumors of selinux causing issues with apps in warn mode, but I've not actually experienced it.
-- Jim Perrin System Administrator - UIT Ft. Gordon & US Army Signal Center