> 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...
Almost for sure you don't have the include_path set properly for PHP to
*find* the files, and Apache (which handles the Auth stuff) is not involved
in any way, shape, or form.
Your include_path is set in php.ini, plus any dynamic changes made in
httpd.conf and/or .htaccess files using:
php_value include_path
"./:/path/to/your/home/dir/here:/any/more/paths/you/like/here"
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]