|
Home > Archive > Apache Server configuration support > March 2005 > new version Apache(2.0.52-9) htaccess does not work
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
new version Apache(2.0.52-9) htaccess does not work
|
|
| Nobody 2005-03-29, 7:51 am |
| Hello all,
I have a problem with htaccess using new Apache httpd-2.0.52-9.ent on Redhat
Enterprise AS 4. No matter how i try and configure .htaccess, it never
accepts logon password with htaccess.
I had a working website previously on Fedora Core3 with htaccess, and here
is how i configured it as well on Redhat AS4
1. Created .htaccess in the /var/www/html with following:
AuthName "Secure Access"
AuthType Basic
AuthUserFile /var/htpasswd.users
require valid-user
2. Ran htpasswd -c /var/htpasswd.users webadmin
Whenever i try to open default website authenticaiton box comes up and it
does not accept webadmin username and password.
3. I tried adding the following in /etc/httpd/conf/httpd.conf
<Directory /usr/local/nagios/share>
AllowOverride AuthConfig
order allow,deny
allow from all
</Directory>
but it still having the same problem,
4. After mucking around with different apache components, i reinstalled the
Redhat system from scratch but it still gives me the same error.
I am about to jump to a conclusion it just may be a new version of apache
that has a bug perhaps?
------------------------------------------------
I have to mention digest method of authenticaiton works, BUT
It's just i really really need to implement htaccess method due to using it
with Nagios CGIs.
Please if somebody could point out a possible problem
Thanks
| |
| Davide Bianchi 2005-03-29, 7:51 am |
| On 2005-03-29, Nobody <nobody@mercury.websiteactive.com> wrote:
> Whenever i try to open default website authenticaiton box comes up and it
> does not accept webadmin username and password.
Check the error_log, there should be a better explanation for the
error.
Davide
--
The correct way to roll NT out is out the door and into the nearest
Dempster Dumpster or other large waste receptacle.
--Mike Andrews
| |
| Nobody 2005-03-29, 7:51 am |
| There was a mysql authenticaiton error, and i noticed there was a solution
to this BUG in apache on apache website.
Needed to remove mysql mod auth component and it works perfectly now.
However this version of apache is giving me a new problem now, now PHP
scripts can read but not write to any files, with any permissions. Nothing
in the http logs for those problems indicated. hmm..
"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:slrnd4ifav.1q3.davideyeahsure@fogg.onlyforfun.net...
> On 2005-03-29, Nobody <nobody@mercury.websiteactive.com> wrote:
it[vbcol=seagreen]
>
> Check the error_log, there should be a better explanation for the
> error.
>
> Davide
>
> --
> The correct way to roll NT out is out the door and into the nearest
> Dempster Dumpster or other large waste receptacle.
> --Mike Andrews
|
|
|
|
|