AI智能回复搜索中,请稍后...
4 回答
执行 sudo a2enmod rewrite sudo service apache2 reload 在网站安装目前下新增文件: vi ./.htaccessOptions Indexes FollowSymLinks MultiViews AllowOverride All #允许 rewrite Order allow,deny allow from all
在网管理后台配置规则:RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
/home/explore/===/explore/ /home/explore/(:any)===/explore/(:any) /home/explore/category-(:num)===/category/(:num) /account/login/===/login/ /account/logout/===/logout/ /account/setting/(:any)/===/setting/(:any)/enjoy