apache2.2 How to configure multiple virtual directories
But when accessing 3 domain names, all refer to directory 1
There is no problem if you change it to apache2.4
The reason is:
apache2.2 is not enabled by default NameVirtualHost
NameVirtualHost *:80
You can add it manually
Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces how to configure multiple virtual directories in apache22. I will come back later and include the content. I hope it will be helpful to friends who are interested in PHP tutorials.