blob: 400b8aaea58b6ebce8cf5095682e7773b963ed67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<IfModule mod_rewrite.c>
RewriteEngine on
# Uncomment this line if you have a crappy host
# RewriteBase /articles/
# RewriteRule ^([0-9]+)$ read.php?article_id=$1 [L]
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME}/read.php -f
RewriteRule ^(.*)$ - [L]
RewriteRule ^view/(.*)$ read.php?article_id=$1 [L]
RewriteRule ^(.*)$ read.php?article_id=$1 [L]
</IfModule>
|