The site has two urls.
Password protect is added via .htaccess file
AuthType Basic
AuthName "You must give a password"
AuthUserFile /home/user/.htpasswd
Require valid-user
Now password protection is applied for both the urls. How to exclude password protection for http://example1.com.
For which version of Apache? (Apache 2.4 has some new features)
?