【发布时间】:2014-04-13 21:41:56
【问题描述】:
我的网址:http://example.com/index.php?L=F/12345678
这是我尝试过的。
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/?$ index.php?L=$1 [QSA,L]
这就是我所期望的:http://example.com/F/12345678 但没用。
【问题讨论】:
标签: php regex apache .htaccess