search

Home  >  Q&A  >  body text

PHP Toolbox Site Domain Name Management Issues

PHP Toolbox Site domain name management, if a domain name with a port other than 80 is set, the web page cannot be opened. If the port is not set, it will jump directly to the hello word page. What's going on? Does anyone know?

火柴火柴2371 days ago1063

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2018-07-10 21:06:07

    The port has been modified. Did you add the port number to the URL you visited?

    reply
    0
  • 火柴

    www.demo.com:82 was added during the visit

    火柴 · 2018-07-11 08:38:49
  • 火柴

    火柴2018-07-10 16:52:00

    <VirtualHost _default_:80>
    DocumentRoot "d:\myphp_www\PHPTutorial\WWW"
      <Directory "d:\myphp_www\PHPTutorial\WWW">
        Options -Indexes -FollowSymLinks +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
      </Directory>
    </VirtualHost>

    <VirtualHost *:80>
        DocumentRoot "D:\myphp_www\PHPTutorial\WWW"
        ServerName www.myphp.com
        ServerAlias myphp.com
      <Directory "D:\myphp_www\PHPTutorial\WWW">
          Options FollowSymLinks ExecCGI
          AllowOverride All
          Order allow,deny
          Allow from all
         Require all granted
      </Directory>
    </VirtualHost>

    <VirtualHost *:8080>
        DocumentRoot "D:\myphp_www\PHPTutorial\WWW\tp5\public"
        ServerName www.mytp5.com
        ServerAlias mytp5.com
      <Directory "D:\myphp_www\PHPTutorial\WWW\tp5\public">
          Options FollowSymLinks ExecCGI
          AllowOverride All
          Order allow,deny
          Allow from all
         Require all granted
      </Directory>
    </VirtualHost>

    <VirtualHost *:82>
        DocumentRoot "D:\myphp_www\PHPTutorial\WWW\demo"
        ServerName www.demo.com
        ServerAlias demo.com
      <Directory "D:\myphp_www\PHPTutorial\WWW\demo">
          Options FollowSymLinks ExecCGI
          AllowOverride All
          Order allow,deny
          Allow from all
         Require all granted
      </Directory>
    </VirtualHost>

    这个文件里也生成了

    reply
    0
  • Cancelreply