Home  >  Q&A  >  body text

What should I do if I can’t access it?

<VirtualHost *:80>

    ServerAdmin webmaster@dummy-host2.example.com

    DocumentRoot "D:\WebPHP"

    ServerName localhost

    ServerAlias localhost

    ErrorLog "logs/dummy-host2.example.com-error.log"

    CustomLog "logs/dummy-host2.example.com-access.log" common

</VirtualHost>

<VirtualHost *:80>

 DocumentRoot "D:\www\video/public"

 ServerName web.php.demo

</VirtualHost>

<Directory "D:\www\jqlyi">

    Options Indexes FollowSymLinks Includes ExecCGI

    AllowOverride All

    Order allow,deny

    Allow from all

</Directory>


无声的泪无声的泪2447 days ago1504

reply all(1)I'll reply

  • 雕花笼

    雕花笼2018-03-01 14:32:32

    Directory should be in VirtualHost

    reply
    0
  • Cancelreply