replyAfter I generate the homepage and enter ytogo.cc, what happens when the page ytogo.cc/install/install.php is automatically redirected? The page in phpstudy is also ytogo.cc. I don’t know why?
replyI found that every time I updated the cache and generated the home page, the install file in the root directory disappeared, but the domain name still could not be opened.
replyThe hosts configuration is as follows:
127.0.0.1 www.ytogo.cc
127.0.0.1ytogo.cc
The vhosts-ini configuration is as follows:
<VirtualHost *:80>
DocumentRoot "F:PhpStudyPHPTutorialWWWPHPCMS"
ServerName www.ytogo.cc
ServerAlias ytogo.cc
<Directory "F:PhpStudyPHPTutorialWWWPHPCMS">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Currently using the ytogo.cc domain name prompt Not Found
Home page information can be displayed normally using www.ytogo.cc
What's the problem?
If there is no problem with the installation, try another browser.
What you entered: ytogo.cc/install/install.php is the background installation file, which only needs to be executed once.
The opened request link address is wrong, it should be http://ytogo.cc/PHPCMS/index.php
Configuration issue
Is it possible that it is a problem with the host file or domain name configuration