summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-24 22:01:08 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-24 22:01:08 -0700
commita19dba9416516fffaa53b0c1955d625c60d7e557 (patch)
treec0ee3a26ed22ef682263a448893c6b26253a357f
parent60442e170ba73641ce5545ca87de794b9fe98132 (diff)
Comment out the whole <IfModule> block; without proper configuration
it breaks gallery3 if you don't specify index.php.
-rw-r--r--.htaccess34
1 files changed, 18 insertions, 16 deletions
diff --git a/.htaccess b/.htaccess
index 0a9d6367..3714aa64 100644
--- a/.htaccess
+++ b/.htaccess
@@ -9,22 +9,24 @@
# You can use mod_rewrite to enable short urls in Gallery 3 (which
# gets rid of the "index.php" from your urls). To do this, you must
-# properly configure the RewriteBase line in the block below. You
-# just need to change RewriteBase line to match your installation.
-# Here are some examples:
+# uncomment the block below that starts with <IfModule> and ends with
+# </IfModule> then properly configure the RewriteBase line in the
+# block below. You just need to change RewriteBase line to match your
+# Gallery 3 URL. Here are some examples:
#
-# Gallery3 URL RewriteBase line
-# ============= ====================
-# http://example.com/gallery3 RewriteBase /gallery3
-# http://example.com/~bob/photos RewriteBase /~bob/photos
-# http://gallery3.example.com/ RewriteBase /
+# Gallery3 URL RewriteBase line
+# ============= ====================
+# http://example.com/gallery3 RewriteBase /gallery3
+# http://example.com/~bob/photos RewriteBase /~bob/photos
+# http://gallery3.example.com/ RewriteBase /
#
# Then just use your Gallery 3 without the index.php in the url.
-<IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
- RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
-</IfModule>
+#
+# <IfModule mod_rewrite.c>
+# RewriteEngine On
+# RewriteBase /
+# RewriteCond %{REQUEST_FILENAME} !-f
+# RewriteCond %{REQUEST_FILENAME} !-d
+# RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
+# RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
+# </IfModule>