apache - How to enable mod_rewrite
phpcn_u1582
phpcn_u1582 2017-05-16 16:58:01
0
1
611

Confused. What is mod_rewrite? Does anyone have any reference cases?

phpcn_u1582
phpcn_u1582

reply all(1)
某草草

First you need to turn apache的配置文件httpd.conf中的mod_Rewrite on, as follows

LoadModule Rewrite_module libexec/mod_Rewrite.so

Then the configuration reference is as follows

<IfModule mod_Rewrite.c>
RewriteEngine On
RewriteRule 添加你要的规则
RewriteRule 添加你要的规则
RewriteRule 添加你要的规则
RewriteRule 添加你要的规则
...
</IfModule
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template