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?
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.
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.
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.
'APACHE TUNE' 카테고리의 다른 글
|apache log rotatelogs (0)||2020.01.30|
|VirtualHost Examples (0)||2020.01.30|
|NameVirtualHost has no effect (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|