Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- .htaccess and .htpasswd


watermelon - 4:23 am on Jun 20, 2003 (gmt 0)


hi, i want to do the directory protection, so i upload this two files into the certain folder, but it returned this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

-------------------------------------------------------------------------
1) .htaccess File:
-------------------------------------------------------------------------
AuthType Basic <br>
AuthName "Your Title"
AuthGroupFile /dev/null
AuthUserFile /usr/local/psa/home/vhosts/zenithgroup.com.my/httpdocs/testing1/.htpasswd

-------------------------------------------------------------------------
2) .htpasswd File:
-------------------------------------------------------------------------
123:$1mm48Gt6Ke5E

can i know what's wrong with this coding? thank you.


Thread source:: http://www.webmasterworld.com/php/787.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com