百度了一下emlog的伪静态规则(.htaccess),几乎没有Apache的伪静态规则,辣么博主我就发发善心(?),放出Apache的伪静态的规则好了⊙ω⊙
Apache:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase / RewriteRule . /index.php [L]
</IfModule>
顺便附上Nginx的伪静态规则:
location / {
index index.php index.html;
if (!-e $request_filename)
{
rewrite ^/(.+)$ /index.php last;
}
}