Ever since installing patch .htaccess won't werk! RAQ 4r
installed RaQ4-All-Security Release 2.0.1-15417 now httpd won't recognize .htaccess files... give page cannot be displayed error... anyone having the same problem or know how to fix it? And I have already tried recreating the .htaccess and password files... still doesn't work... mainly worried about FP users since it uses .htaccess for auth.
thanks but ive tried everything as far as configuration goes. AllowOverride All is what I have for /home/sites... in access.conf... Ive also tried to put it in httpd.conf still it does not work... I am assuming that the patch screwed up the httpd executable somehow... there are others on the Sun Cobalt support forum with these same problems... Im trying to spread this around to see if anyone else is having these problems or did and fixed it.
I am having the same problem. When ever I try to access a page protected with htaccess I get a page can't be found. I have checked every thing in the confg file and it still does not work.
Did anybody ever come up with a solution to this problem.
I have this patch (and all Cobalt patches) on my RaQ 4, and .htaccess files work just fine.
Here's the contents of mine:
# in the directory listed in the AuthUserFile,
# do the following command:
# htpasswd -cm .htpasswd username
# The -c means create a new file
# the -m means store MD5 hashes of the
# If you need to add another user, do the
# same command but leave out the "-c":
# htpasswd -m .htpasswd username
AuthName "Secure Directory"
Allow from all
<Limit GET POST>
The 'AuthPAM_Enabled off' is one that a lot of people forget to put in.
Since you mentioned FrontPage, that might be the source of the problem. I know at some point, file ownerships were changed to 'nobody' for security reasons. I don't use or know anything about FP, so I can't comment on that. But doublecheck ownership of your FP files, .htaccess files, etc. as that may be the cause.
Thank you for the reply. But this has nothing to do with how I create htaccess files. The reason I say this is even the htaccess files that webalizer creates give the same error which is "file can not be found". Also it does not mater what type of htaccess file it is if you do one to redirect the error messages you get the same error "page can't be found" on sites that have Front Page. Front Page does not work at all.
This problem is beyond the simple problem cased by configuration or how you create a htaccess file for password protection.
I have other RAQ4 server that every thing works just fine it just this one.