Solved

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

Posted on 2002-03-13
1
182 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 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
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…

740 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