rewrite到:http://www.test.com/template/index.php?id=0123456789
---------------------------------------------------------------
RewriteRule ^([0-9]+)$ template/index.php?id=$1另外rewrite到: http://www.test.com/template.php?id=0123456789
--------------------------------------------------------------
RewriteRule ^([0-9]+)$ template.php?id=$1是在httpd.conf中插入配置代码还是在.htaccess中,请尽量说的详细些,谢谢!
----------------------------------------------------------------------
都行
---------------------------------------------------------------
RewriteRule ^([0-9]+)$ template/index.php?id=$1另外rewrite到: http://www.test.com/template.php?id=0123456789
--------------------------------------------------------------
RewriteRule ^([0-9]+)$ template.php?id=$1是在httpd.conf中插入配置代码还是在.htaccess中,请尽量说的详细些,谢谢!
----------------------------------------------------------------------
都行
Options Indexes FollowSymLinks
AllowOverride all
RewriteRule ^([0-9]+)$ template/index.php?id=$1