apache rewrite

   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]

博客已经搬家,请访问如下地址:http://www.czhphp.com

posted @ 2009-12-08 23:17  曹振华  阅读(167)  评论(0编辑  收藏  举报