文書の過去の版を表示しています。
ただし、css、fonts、img、jsディレクトリは除外。
クエリを、requestパラメータとして渡す。
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(^/css|fonts|img|js/) RewriteRule (.*) /index.php?%{QUERY_STRING}&request=$1 [L] </IfModule>
コメント