[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

.htaccess pulling from two .htpasswd files - is it possible?

Posted on 2004-04-15
3
Medium Priority
?
283 Views
Last Modified: 2008-03-03
Is it possible to have .htaccess pull the passwords from two .htpasswd files in different locations?

Like so

AuthUserFile /home/data/.htpasswd
AuthUserFile /home/other/.htpasswd
AuthGroupFile /dev/null
AuthName "RESTRICTED"
AuthType Basic
<Limit GET PUT POST>
require valid-user
</Limit>


or something like that?

0
Comment
Question by:dr34m3rs
[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
  • 2
3 Comments
 
LVL 9

Expert Comment

by:pepsichris
ID: 10837649
It's done through multiple .htaccess files.  Have a different .htaccess file in each password protected directory and call the required .htpasswd file from there.
0
 
LVL 1

Author Comment

by:dr34m3rs
ID: 10837655
Can it be done from the same dir though?
0
 
LVL 9

Accepted Solution

by:
pepsichris earned 500 total points
ID: 10837767
Nah, I'm afraid not.
0

Featured Post

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

650 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