Apache (httpd) 2.0 conf authentication problem HELP!!!
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apache (httpd) 2.0 conf authentication problem HELP!!!
Hi people,
Man am I in a fix with Apache 2.0! I was a faithful little 1.3 user for quite some time and have now upgraded to version 2.0 with the release of RH9...
I am having some serious authentication control problems when using .htaccess files! I mean they work under 1.3 but not under 2.0.
What I seem to get is that I am prompted for the password on the protected directory... I enter the username and password three times and it gives me an access denied... - All you smart alecs jumping in and saying - you got the password wrong... I thought that too - changed it to a|a no chance of screwing up - but same result.
Need an Apache Guru to give me some detailed instructions on how to sort this out please... please... please...
<urls removed by author>
Distro: Redhat 9.0 (shrike)
Listen - even someone who has a working httpd.conf file for this version who is willing to share - would help so much..
FYI: I am an intermediate user who is more comfortable in shell than a GUI.
Hey,
I'm sorry that I can't help with your problem, but all I can say is that I have had this problem before. There's nothing I hate more than apache http authorization. I've even had problems on 1.3.26 and 1.3.27 with this. I presume you're using basic authentication, just like I did, ..... yes, you are. Hm....all I can say is that I never found a way round this problem, so ended up using php to authenticate. I did have a niggling feeling that it was to do with the username/password combination I used, though.
Change
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None AllowOverride AuthConfig
You changed one to many lines. This default directive:
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride AuthConfig
</Directory>
I'm going down the same road that looks you have already traveled. I am installing qmail from qmailrocks.com. I'm have the exact same problems you are talking about with redhat 9.
please let post here if apache 1.3 fixed your problem.
Lol... Yeah thanks guys.. I was a happy 7.4 (yes I have got that right) user - forced to have 9 from a dedicated server rental thing.
It's been a pain in the arse in terms of getting RH9 to behave with apache 1.3 but eventually it seems to be working.
lots of rpm -qa | grep <package> and rpm -e --nodeps <package>
Also need compat for RH 9 providing backwards compatibility to 7.3 packages... Seems to be working (limping til I've tweaked it)
Mail me if you want to and I'll put a HowTo together when I'm done. peter_AT_divisionbyzero.biz - funny how a morning's work can turn into 3 days aint it!
The bright spark who changed the C compiler need to spend a morning in a room with me alone - I'll bring the pliers and dental instuments!
just reloadded my box with RH 8. Still have same problem. well it's a little different this time. Instead of it not accpeting the password, it doesn't prompt for one at all.
I have the <directory> tag in the httpd.conf file and it is setup properly.
Listen - wait a while - a how to is going to be forthcoming - I've nearly finished this build - let me make sure that it's stable and I'll make a howto page for you guys to follow.
Well - I sure have been banging my head - got the password auth working under RH9 with apache 1.3.x. Now SSL over port 443 doesn't work! Got a feeling it's the openSSL module.. if I can't make some symbolic links I'll have to think about downgrading that too.
Again - I will post something about what I did to get which results soon.. so others can learn from my mistakes.. lol. Just want this working right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.