RewriteEngine on
#RewriteCond %{REQUEST_URI} \.php$
#RewriteRule (.*)\.php$ http://www.test.com/$1 [R]
RewriteCond %{HTTP_HOST} ^www.linux.com [NC]
RewriteRule ^/(.*) http://www.test.com/$1 [L]
apache rewrite
原创wx59e2f041219d8 ©著作权
©著作权归作者所有:来自51CTO博客作者wx59e2f041219d8的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
apache rewrite 详解
http://blog.sina.com.cn/s/blog_6b7d19300100o6rc.html
职场 apache 休闲 详解 rewrite -
Apache rewrite Url
本文主要介绍Apache环境下,如何使用mod_rewrite模块完成URL重写功
HTTP Apache php