
Originally Posted by
Scoochi2
I think you don't even need .htaccess
Just change the permissions to 700?
.htaccess:
Code:
<Files *>
order allow, deny
deny from all
</Files>
Include and Require by php will still work though; apparently PHP bypasses the .htaccess requirement since apache isn't actually serving the page to the user, it's being used by another php document.
No idea how to change permissions though honestly, I've used this in the past but it's been a while - i -might- have the Files * line wrong, back stuff up before trying it!!!