0
当我进入http://www.example.com/index.php到blowser
我可以使用重写规则重定向到http://www.example.com/web/index.php
OK,现在如果我进入http://www.example.com/test.php
但“test.php的”文件不网页/文件夹中存在
实际上,这个文件存在于/ admin文件夹
那么,我可以重定向到http://www.example.com/admin/test.php?
使用http://www.example.com/xxx.php重定向到不同的URL?
以下是我的.htaccess,但它不能正常工作...
我可以使用mod_rewrite重定向到不同的URL吗?
RewriteEngine叙述在
重写规则^(。*)$网/ $ 1 [NC]
重写规则^(。*) $管理员/ $ 1 [NC]