Solved

.htaccess not working

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
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). #…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 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