下面打开页面不会错误,但是提交表单却出了问题
不能完全用官网的,服务器配置不一样
apache测试下面可用,打开提交表单都可用
正确的.haccess
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>
宝塔的伪静态配置就是配置的.haccess文件,可以直接复制粘贴,apache需开启伪静态