Greetings cPanelers,
I've come across a most peculiar situation. In the past, when I added a new account to my VPS via WHM, it would create several entries for the new domain in Apache's httpd.conf file. Among these entries were two that looked like this:
However, it seems as of late it's adding them like this:Code:ServerAlias domain.com ServerName www.domain.com
As you can see the values have been reversed. Now, this might seem innocent enough, however it is causing problems when I try to Web Protect a directory. Basically, when accessing the protected directory it asks the username and password twice. Once for www.domain.com and then again for domain.com.Code:ServerAlias www.domain.com ServerName domain.com
The explanation for this is here:
http://httpd.apache.org/docs/1.3/mis...prompted-twice
My host provider seems to think the cPanel developers have changed the cPanel templates recently. I looked at the /usr/local/cpanel/etc/httptemplates/apache1/default file and it seems to be correct. With regards to these two values it reads:
Any idea what's going on here? Has cPanel changed something?Code:ServerAlias #serveralias# ... ServerName #servername#



LinkBack URL
About LinkBacks
Reply With Quote






