Solved

.htaccess not working

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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