Solved

.htaccess not working

Posted on 2001-06-11
1
199 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 50 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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 explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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