[cgiwrap-users] CGI and .htaccess precedence
Brought to you by:
nneul
From: gwilson <gw...@pl...> - 2005-06-21 19:54:18
|
Hi all! I am using CGI wrap along with rewrite rules to basically force all .php files to be executed through cgiwrap - this works very well. I havce noticed off behaviour though. If I create a .htaccess and .htpasswd in a directory and have an index.html file in there too - when I browse to it, I get prompted for the username and password as you would expect. But if I replace the index.html with an index.php - somehow CGI wrap takes precedence and the contents of the file is displayed instead of being asked for a username and password. Can anyone explain why this happens and what needs to be done to get Apache to utilise .htaccess BEFORE anything else? Many thanks GW |