Solved

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

Posted on 2002-03-13
1
177 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
1 Comment
 
LVL 15

Accepted Solution

by:
samri earned 100 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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now