?
Solved

I would like to override something set in a .htaccess in a higher directory.

Posted on 2002-03-13
1
Medium Priority
?
185 Views
Last Modified: 2010-03-04
i have a htaccess file that does this,

AuthUserFile /var/www/servers/.htpasswd
AuthName "Not worth looking at really, so go away"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

but in a lower directory, i do not need to require basic auth, but i cant seem to override the directive in the .htaccess and it asks users for a password.

i have tried such directives as
allow all

and

Anonymous nobody

but it stills ask for a username/password

I cant change the structure of the site so i really have to solve this, thanks
0
Comment
Question by:tommyh
[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
 
LVL 15

Accepted Solution

by:
samri earned 400 total points
ID: 6863519
You might want to create a .htaccess file in that directory, or any directory beneath the one protected with only "Satisfy Any" in it.  Any of course any other Apache directive can be added too.

More detailed discussion at Apache's website.
http://httpd.apache.org/docs-2.0/mod/core.html#satisfy
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 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