PDA

View Full Version : PHP restrict file level access


izziy
03-15-2000, 05:20 PM
I have a problem to get this work.
Added user and password, also when I tried to access
the page i predefined, it popped the window to let me enter the user id and password.

But it never let me to access the file even i entered the
correct user id and password.

SOmething wrong with my .htaccess file??

Please have a look for me, thanks

<FILES index.php3>
AuthUserFile /home/izziy/.htpasswd
AuthName[nbsp][nbsp] &quot;FACSS&quot;
AuthType[nbsp][nbsp]Basic

<LIMIT GET POST PUT>
require valid-user
</LIMIT>
</FILES>

Terra
03-15-2000, 06:34 PM
You may want to direct this question to the support department of your present web host provider as we don't support the '/home/izziy/' document roots...

Hope they can help...

--
Terra
sysAdmin
FutureQuest

izziy
03-15-2000, 07:09 PM
I just wonder that if the format is correct..