.htaccess中的多次重写

时间:2016-04-24 14:07:26

标签: php .htaccess

.htaccess中的多次重写 不工作

 RewriteEngine On
 RewriteRule ^f.aspx f.php [L]
 RewriteRule ^icons.aspx icons.php [L]

1 个答案:

答案 0 :(得分:0)

我认为您在$

之后忘记了.aspx
RewriteEngine On
RewriteRule ^f.aspx$ f.php [L]
RewriteRule ^icons.aspx$ icons.php [L]