About a week ago, when restarting apache using ssh, I got the following notice:
"AH00548: NameVirtualHost has no effect and will be removed in the next release..."
Same issue seen in this post:
NameVirtualHost has no effect error?
I ran the rebuild mentioned in that post, and also rebuilt the EA4 profile, the notice disappeared for couple of days, then came back!
Any easy way to stop these residual NameVirtualHost entries from regenerating?
webhostukWell-Known Member
Can you open your httpd.conf file and check if the entry for Virtualhost is :
<VirtualHost xxx.xx.xxx.xx:80> where (xxx is your IP ) try to replace it with : <VirtualHost *:80> and restart apache.
Check if that solved the problem.
WebhostUK LTD : Best UK Web Hosting
Cloud VPS Hosting & Managed Servers
gnetwork-cpMember
Thanks for suggestion. For some reason only one virtual host had the NameVirtualHost entry stuck.
I resaved that domain's zone, and ran /scripts/rebuildhttpdconf - the NameVirtualHost entry has disappeared again, and hopefully will stay like that.
cPanelMichaelAdministrator
Staff member
Hello,
The "NameVirtualHost has no effect and will be removed in the next release" message is informational and will not result in any issues accessing your websites. It's no longer used as of cPanel version 68:
Fixed case CPANEL-15364: Avoid adding NameVirtualHost to httpd.conf when using EA4.
Thank you.
'APACHE TUNE' 카테고리의 다른 글
apache log rotatelogs (0) | 2020.01.30 |
---|---|
VirtualHost Examples (0) | 2020.01.30 |
Remote MySQL connection fails (10060) - “Can't connect to MySQL server on domainname.com(10060)” (0) | 2018.05.05 |
Apache2 and php fpm performance optimization — Step-by-step guide (0) | 2018.05.05 |
How to Install htop on CentOS 7 (0) | 2018.05.05 |