如何让apache支持伪静态
封面图
•
2023-06-30
•
APACHE
196
0
0
0
1、打开Apache服务器的httpd.conf配置文件,在文件末尾加入以下内容: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] </IfModule> 2、重启Apache服务器,即可实现Apache的伪静态功能。
上一篇:
Apache——启动错误:[Cannot load modules/mod_actions.so into server]解决方案
下一篇:
apache启动错误 AH00072: make_sock: could not bind to address [::]:443
标题录入,一次不能超过6条
返回顶部
留言
留言
评论