The rewrite mode of the php toolbox fails under the combination of php7+apache
冷笑浅兮
冷笑浅兮 2017-10-22 02:58:49
0
2
1004

The rewrite mode of the php toolbox fails when combined with php7 apache. Index.php (entry file) must be added for correct access. What's going on?

冷笑浅兮
冷笑浅兮

遇到事情不能坐以待毙

reply all(1)
Day

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.

  • reply You 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?
    冷笑浅兮 author 2017-11-12 23:12:07
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!