2010-11-18 54 views
0

我想这样做,简单的内部写:简单的.htaccess内部重写问题

http://localhost/icore4/t1/js/GeneralJs.js 

http://localhost/icore4/js/GeneralJs.js 

htaccess的位置

icore4/.htaccess 

htaccess的代码

RewriteEngine on 
RewriteRule ^(.*)/(.*)$ /$2 [NC,L] 

底线,我想摆脱t1并把它放在查询字符串中。到目前为止,我很烦恼要摆脱它。

回答