Learning PHP and MySQL

Example 14-1 Using Apache authentication to restrict access to scripts

AuthType  Basic
AuthName  
"Administrators  Only"
AuthUserFile  /usr/local/apache/passwd/passwords
Require  valid-user

Posted by on 09/25 at 11:51 AM

Next entry: Example 14-2 Creating an Apache password for .htaccess

Previous entry: Example 13-20 Retrieving additional information for the user

<< Back to main