Fubaredness Is Contagious

Dmitriy Samovskiy’s Blog

Entries from June 2007

Apache Config Trick: A Special Directory

June 21st, 2007 · Comments Off

So say you need to require users to enter their username and password before they can get content from your Apache server? Well, that’s easy:
<Location “/”>
AuthType …
AuthName…
Require valid-user

</Location>

But what if you want to have one special directory where you don’t want to authenticate users? Extended regular expressions to the rescue (perldoc perlre)! Just change [...]

[Read more →]

Tags: linux