1. Check Apache's Vhsot file to see if the changed port is not 80. If not, you need to add a port after the domain name. 2. Check whether there is a php file in the directory managed by the site domain name. If not, it cannot be opened.
replyYou can test it yourself. There are Apache rewrite files starting with index.php and .htac under the root directory of my virtual host mapping. The website port is port 80. I tried it, but I can only add an index.php/model/controller/method. . It is definitely a toolbox bug, and I checked the apache.conf configuration file and found that the rewritten module was uncommented. Could there be any other reason? I put the same code under XAMPP and paired it with a virtual host. The rewrite mode is completely effective. What do you think?
1. Check Apache's Vhsot file to see if the changed port is not 80. If not, you need to add a port after the domain name. 2. Check whether there is a php file in the directory managed by the site domain name. If not, it cannot be opened.