Actually, if you like you can do the same like your host. For example, you have 2 sites: site1 and site2 as follows:
c:/wamp/www/site1
c:/wamp/www/site2
And access them as follows:
[
localhost]
[
localhost]
Now, you want site1 has HTML menu and site2 has password protection, you can do as follows:
Content for .htaccess in site1:
Options Includes
AddType text/html .html
AddHandler server-parsed .html
Content for .htaccess in site2:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile c:/wamp/www/password/.htpasswd
AuthGroupFile /dev/null
require valid-user
Content for .htpasswd in site2 (assume you have user "tester" and password "test" and save this file in folder c:/wamp/www/password)
tester:test
Have fun,
[
test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[
www.jlbn.net] (Basic Guide for WAMP & Add-ons)