I wouldn't say .htaccess and .htpasswd files are pointless. They might not 
be applicable to your situation, fine, but they're not totally useless. And 
.htaccess/passwd files do provide directory-level security -- the directory 
they're in, plus any subdirectories if need be. 

But there are a million solutions to your problem. .htaccess was just one 
of them. It would also have been possible to forget about individual 
.htaccess files and just define everything in access.conf. 

Anyways, just glad you found a solution.

J



John Coggeshall wrote:

> 
> .htaccess and pw files are pointless, who wants to maintain potentially
> 10 or 20 of these things? Furthermore, it's gotta do more than just
> serve a single file at a time -- that's simple... I needed
> directly-level security.
> 
> The solution I came up with was to use a module called mod_auth_any,
> which (with a little minor adjustment) can execute a PHP script from the
> console and rely on it's response to grant authentication or not. That
> gives me Apache-level security without Apache-authentication.
> 
> John
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to