+ added the new url handlers (for now i tested only the friendly one)
[vsc.git] / _res / rewrite.rules
blobdbf38ca5ce34434478be61545a8d6d9ba97ff7aa
1 # rewrite rules for lighttpd
2 url.rewrite-once = (
3      "^/adm/style(.*)"       => "/adm/style.php?$1",
4      "^/adm/(.*)"        => "/adm/index.php?$1",
5      "^/style(.*)"   => "/style.php?$1",
6      "^/image(.*)"   => "/img2.php?id=$1",
7      "^/rss(.*)" => "/rss.php?$1",
8      "^/(.*)"            => "/index.php?$1"
11 # rewrite rules for apache using .htaccess for each folder
12 # please note to use the rewrite base according to the base folder
13 RewriteEngine on
14 RewriteBase /
15 RewriteCond %{REQUEST_FILENAME} !-f
16 RewriteCond %{REQUEST_FILENAME} !-d
17 RewriteRule ^(.*)$ index.php?$1 [L]