.htpasswd with CQ
Hi,
My Apache web server is fronting a CQ dispatcher that is rendering from a CQ Publish Instance on the server. Everything works correctly until I try to put a .htpasswd in my Apache config to require user authentication before users can access my CQ Publish instance. Whenever I browse to my site, I get an authentication prompt. This behavior is expected. I put the user credentials, as defined by my .htpasswd file and the prompt goes away. However, I will get a second prompt with the following message
"The server http://myserver:80 requires a username and password. The server says: Sling (Development)."
Regardless of which user credentials I use, authentication will fail and I get the first password prompt from my .htaccess file.
I can see from my Apache's error log that the second authentication attempt was against a content in my CQ Publish instance's repository. Why would this happen? What is missing in my configuration? If I remove .htaccess, I get no authentication prompts.
Please advise.
Thank You.