PHP Toolbox Site Domain Name Management Issues
火柴
火柴 2018-07-10 15:27:34
0
3
963

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?

火柴
火柴

reply all (2)
ringa_lee

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

  • reply www.demo.com:82 was added during the visit
    火柴 author 2018-07-11 08:38:49
火柴


DocumentRoot "d:\myphp_www\PHPTutorial\WWW"

Options -Indexes -FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted


DocumentRoot "D:\myphp_www\PHPTutorial\WWW"
ServerName www.myphp.com
ServerAlias myphp.com

Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted


DocumentRoot "D:\myphp_www\PHPTutorial\WWW\tp5\public"
ServerName www.mytp5.com
ServerAlias mytp5.com

Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted


DocumentRoot "D:\myphp_www\PHPTutorial\WWW\demo"
ServerName www.demo.com
ServerAlias demo.com

Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted

这个文件里也生成了

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!