2010-09-16 124 views

回答

1

找到了答案。從YOURLS抓起.htaccess文件(http://code.google.com/p/yourls/

<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^([0-9A-Za-z]+)/?$ /index.php?id=$1 [L] 
</IfModule> 

希望這可以幫助其他人。