summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-02-14 19:52:45 +0000
committerDries Buytaert <dries@buytaert.net>2003-02-14 19:52:45 +0000
commitd03872979756371aeff787bca107db9a88d7004a (patch)
treea871c8a8452657d3168c6190585c89894c1d528e /.htaccess
parent62212c7b3d08c4162c7ee7bc29895c8d98710ce8 (diff)
downloadbrdo-d03872979756371aeff787bca107db9a88d7004a.tar.gz
brdo-d03872979756371aeff787bca107db9a88d7004a.tar.bz2
- Clean URLs.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 1890b7a4f..12b0c33c7 100644
--- a/.htaccess
+++ b/.htaccess
@@ -38,6 +38,9 @@ ErrorDocument 500 /error.php
# Various rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.*)$ index.php?q=$1 [L]
RewriteRule ^blog/(.*) /index.php?q=blog/$1 [R]
</IfModule>