日期:2014-05-17  浏览次数:20504 次

htaccess规则要怎么写呢?请在?号处填写内容。谢谢(急急急)
原来的
index.php?id=123 转换  
123.html  

htaccess如下:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([0-9]+).html$ ?id=$1
</IfModule>

我现在想把原来的123改过加密的。用的是这个base64_encode

index.php?id=MTIz  
MTIz.html

htaccess规则要怎么写呢?
<IfModule mod_rewrite.c>
RewriteEngine On
??????????????????????????????????
</IfModule>

------解决方案--------------------
RewriteRule ^(.+).html$ ?id=$1