?
Solved

.htaccess not working

Posted on 2001-06-11
1
Medium Priority
?
201 Views
Last Modified: 2010-05-18
I have a .htaccess file in the members area of my site.  It points to my /etc/http/mysite/users file for authentication.  It has always worked in the past.  Last week I installed RHLinux7.1 and for some reason, when going to the members area, the .htaccess file is being totally ignored.  It never prompts for a username/password.  Anyone know any reason this is happening?  Has anything changed in Apache for RHLinux7.1?
0
Comment
Question by:GorGor2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Rare earned 200 total points
ID: 6183950
Check your /etc/httpd/conf/httpd.conf and make sure that you have

AccessFileName .htaccess

and if the dir that needs for authentication is /home/user1/public_html, make sure this is in httpd.conf also.

<Directory "/home/user1/public_html">
    AllowOverride AuthConfig
    (other options you might have here)
</Directory>
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question