When lnmpa was used, a strange error was found.
[Warn] _ default _ virtualhost overlap on port 88, the first has precedence
Because lnmpa Apache listens to port 88, it is usually port 80.
When this problem occurs, I searched for the network and found that many of them removed comments from a post... the post was not detailed.
It is difficult for people who have just been in touch to figure out how to solve the problem.
Complete configuration is provided here
Because my host www.ifeisu.com is configured in the vhost/directory and included in httpd. conf.
The separate configuration file is as follows:
Namevirtualhost *: 88
<Virtualhost *: 88>
Serveradmin webmaster@example.com
Php_admin_value open_basedir "/home/wwwroot/www.ifeisu.com:/tmp/:/var/tmp/:/proc /"
DocumentRoot "/home/wwwroot/www.ifeisu.com"
Servername www.ifeisu.com
Errorlog "logs/www.ifeisu.com-error_log"
Customlog "logs/www.ifeisu.com-access_log" common
</Virtualhost>
The red font is the key. Just add this sentence. 88 is the port of my service listener. The default value is port 80.
Change it to 80.