dwasifar
November 23rd, 2009, 08:48 PM
There are five domains hosted on my Apache install, using virtualhosts on port 80. The other day I set up SSL on one of them by creating a separate documentroot directory entry for ssl and a virtualhost on port 443. This directory has .htaccess security; entries in httpd.conf and .htaccess files in the directories. So far, so good; it all works like I want it to.
Today, I decided to set up another SSL virtualhost for a different domain. I cloned the existing virtualhost, changing the servername and the documentroot and certificate paths, and restarted Apache. Everything seems to work, except that for some reason, the new SSL domain is prompting for .htaccess login, expecting the user and passwords as specified for the first SSL domain.
I don't understand why this is. There are no .htaccess files in the DocumentRoot of the new domain, and it has no entries in http.conf.
Today, I decided to set up another SSL virtualhost for a different domain. I cloned the existing virtualhost, changing the servername and the documentroot and certificate paths, and restarted Apache. Everything seems to work, except that for some reason, the new SSL domain is prompting for .htaccess login, expecting the user and passwords as specified for the first SSL domain.
I don't understand why this is. There are no .htaccess files in the DocumentRoot of the new domain, and it has no entries in http.conf.