summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-28 21:37:07 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-28 21:37:07 -0700
commitcf354f4d6279b9bd93a29ec288d01461e99093dd (patch)
tree1123b73be9abe9dda16185d5f03e7536212d3ae2 /.htaccess
parent922b810c56bc42a5d3df957cae82c0e70642f8fa (diff)
Add an new rule to the mod_rewrite example that redirects you away
from index.php to the short urls.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 404b43f5..5e9b96d6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -66,4 +66,5 @@
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
+# RewriteRule ^index.php/(.*) $1 [QSA,R,L]
# </IfModule>