I get a 500 error with the below in my .htacess file I cannot figure out why.
I checked the path with <?php echo $_SERVER["SCRIPT_FILENAME"]; ?>
-- it's /home/tedctcou/public_html/filename
Can anyone see a reason why that doesn't work? I hreally need help here... Many thanks!
AuthUserFile /home/tedctcou/public_html/.pswrd
AuthType Basic
AuthName "Information for committee and board members. Please enter your login details to access this information."
<Files "staff.php">
Require valid-user
Order deny,allow
Deny from all
Allow from 216.70.112.113
Satisfy Any
</Files>
Test this :
<FilesMatch "staff.php">
Require valid-user
Order deny,allow
Deny from all
AuthUserFile /home/tedctcou/.pswrd
AuthType Basic
AuthName "Information for committee and board members. Please enter your login details to access this information."
Allow from 216.70.112.113
Satisfy Any
</FilesMatch>
Move your .pswrd !!