< Directory "C:/[ PATH TO HTDOCS/phpmyadmin"> AuthType Basic AuthName "Custom Title Here" AuthUserFile c:/path/to/user/from/ApacheDIR/users.auth Require valid-user [ ALL OTHER OPTIONS YOU WANT ] </Directory>
< Directory "C:/[ PATH TO HTDOCS/phpmyadmin"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from xxx.xxx.xxx.xxx </Directory>
Comments
Start > Run > cmd [ PRESS ENTER ]
cd "C:/[ PATH TO APACHE ]/bin"
htpasswd -c c:\users.auth [YOUR USER NAME] [ PRESS ENTER ]
[ enter your password ]
When that's done, move your users.auth file to somewhere outside your HTDOCS folder but somewhere you remember.
2) Editing Apache's Config to check users. (Apache.org DOCs)
3) Restart Apache
Make sure the httpd.confg is saved, then restart Apache.
It does take some practice to get it just right, but it's not _too_ hard. You got my SN if you need me to hold your hand and walk you through it
Restart Apache
Make sure the httpd.confg is saved, then restart Apache.