Why can't I access the virtual URL I created?
冰冰的糖
冰冰的糖 2017-12-15 12:52:12
0
5
1042

1.hosts file has been modified, but other pages pop up

冰冰的糖
冰冰的糖

reply all(3)
猪哥

Look at the vhost file

Day

Take a look at the vhosts.conf file.

  • reply <VirtualHost *:80> DocumentRoot "C:\myphp_www\PHPTutorial\WWW\demo" ServerName www.demo.com ServerAlias ​​demo.com <Directory "C:\myphp_www\PHPTutorial\WWW\demo"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost> This path seems to be correct, right?
    冰冰的糖 author 2017-12-15 14:33:50
Day

Look at the default site path of the Vhost file in your Apache directory. It may be because there is no file in your default path!

  • reply Is this httpd-vhosts.conf or vhosts.conf?
    冰冰的糖 author 2017-12-15 14:20:14
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template