summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-29 12:36:51 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-29 12:36:51 +0000
commit0cc399504b5fece562c9a54615c055953fa65bcc (patch)
tree1eee7e5f1321faa1fd8e99fbc92b79d56b6b6427 /.htaccess
parent0f284b37d293aa60107655cab89f7394dd73145a (diff)
downloadbrdo-0cc399504b5fece562c9a54615c055953fa65bcc.tar.gz
brdo-0cc399504b5fece562c9a54615c055953fa65bcc.tar.bz2
- Patch #113377 by Gerhard: clean up .htaccess.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess14
1 files changed, 1 insertions, 13 deletions
diff --git a/.htaccess b/.htaccess
index 37170fb2f..9caf2514d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -74,19 +74,7 @@ DirectoryIndex index.php
# the rewrite rules are not working properly.
#RewriteBase /drupal
- # Rewrite old-style URLs of the form 'node.php?id=x'.
- #RewriteCond %{REQUEST_FILENAME} !-f
- #RewriteCond %{REQUEST_FILENAME} !-d
- #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
- #RewriteRule node.php index.php?q=node/view/%1 [L]
-
- # Rewrite old-style URLs of the form 'module.php?mod=x'.
- #RewriteCond %{REQUEST_FILENAME} !-f
- #RewriteCond %{REQUEST_FILENAME} !-d
- #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
- #RewriteRule module.php index.php?q=%1 [L]
-
- # Rewrite current-style URLs of the form 'index.php?q=x'.
+ # Rewrite URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]