The httpd-vhosts file is as follows:
#mallpsi
Namevirtualhost *:80
DocumentRoot "D:/wamp531/www/mallpsi"
ServerName mallpsi.com
DirectoryIndex index.php
# This should is omitted in the production environment
SETENV application_env Development
Options Indexes multiviews FollowSymLinks
AllowOverride All
Order Allow,deny
Allow from all
#ibmstyle
Namevirtualhost *:80
DocumentRoot "D:/wamp531/www/ibmstyle"
ServerName ibmstyle.com
DirectoryIndex index.php http://ibmstyle.com/index.php
# This should is omitted in the production environment
SETENV application_env Development
Options Indexes multiviews FollowSymLinks
AllowOverride All
Order Allow,deny
Allow from all
#kuuqii
Namevirtualhost *:80
DocumentRoot "D:/wamp531/www/kuuqii"
ServerName kuuqii.com
DirectoryIndex index.php http://kuuqii.com/index.php
# This should is omitted in the production environment
SETENV application_env Development
Options Indexes multiviews FollowSymLinks
AllowOverride All
Order Allow,deny
Allow from all
The Hosts file is as follows:
127.0.0.1 kuuqii.com
127.0.0.1 mallpsi.com
127.0.0.1 ibmstyle.com
127.0.0.1 www.kuuqii.com
127.0.0.1 www.mallpsi.com
127.0.0.1 www.ibmstyle.com
127.0.0.1 localhost
Reply to discussion (solution)
Does anyone answer?
The settings of the virtual host have nothing to do with the browser
When it is not valid, report what is wrong, put it out to see.
When it is not valid, report what is wrong, put it out to see.
No error, that is, no matter which URL entered is the first Web site of the virtual host
I have also encountered this problem .... It's not convenient to find out where it's been written wrong.
Have you restarted the server?
restarted n multiple times.