Problems with include directory which falls under .htaccess protection
| From: | Tom Carter | Date: | Sat, 23 Jun 2001 16:00:13 +0000 |
| Subject: | Problems with include directory which falls under .htaccess protection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54978@lists.php.net to get a copy of this message | ||
Hi all,
I have a .htaccess file with the following in it
order allow,deny
allow from all
require user pilot
Authname MySite
Authtype Basic
The page itselfs prompts for and accepts username/password correctly,
however on that page are a number of included files.. The included files are
in a subdirectory of the root of the site and hence fall under the
jursidiction of the .htaccess. PHP cannot however access these.. I guess
because it also needs to be authenticated...
Oh, I checked the PHP code etc... and everything works fine...
Thanks in Advance..
Tom Carter
Web Architect
roundcorners ltd.