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
长期招聘java,有找工作可以联系我,微信:caozhenhua1563