Forum Moderators: phranque
when i try to include that protected information, instead of getting a prompt for a password to access it, i get the error:
[an error occurred while processing this directive]
my htaccess file looks like this:
AuthUserFile /home/rkbven/www.example.com/htdocs/reha/secure/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
AuthName Protected
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
require valid-user
when i try switching the scenario around (including the protected information from INSIDE the directory, and trying to include the header and the footer from outside, the header and footer no longer work.
this link is trying to include the protected content from outside the protected directory
http://www.example.com/reha/rehaindex.shtml
this link is trying to include the non-secure content from inside the protected directory
http://www.example.com/reha/secure/rehaindex.shtml
i hope this all made sense...i cant figure out if this can work at all.
[edited by: jdMorgan at 8:28 pm (utc) on Feb. 15, 2006]
[edit reason] Example.com [/edit]
[error] [client x.x.x.x] unable to include "secure/rehaindex.html" in parsed file /home/rkbven/www.example.com/htdocs/reha/rehaindex.shtml
that error is from trying to include a secured file from outside the secure directory.
[edited by: jdMorgan at 8:27 pm (utc) on Mar. 21, 2006]
[edit reason] example.com [/edit]