]> projects.mako.cc - scuttle/blobdiff - .htaccess
Tagged 0.7.5
[scuttle] / .htaccess
index af3cae928ef4301806388e4c6425cbda69afb59f..de8389958b4e8d35d3ba69ec60a90befa59dc075 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,10 +1,12 @@
-Options +FollowSymlinks
-<IfDefine APACHE2>
+# Rewrite clean URLs onto real files
+<IfModule mod_rewrite.c>
+  <IfDefine APACHE2>
     AcceptPathInfo On
-</IfDefine>
-RewriteEngine On
-RewriteBase /
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteCond %{REQUEST_FILENAME}.php -f
-RewriteRule ^([^/]+)/?(.*)      $1.php/$2   [L]
+  </IfDefine>
+  RewriteEngine On
+  RewriteBase /
+  RewriteCond %{REQUEST_FILENAME} !-f
+  RewriteCond %{REQUEST_FILENAME} !-d
+  RewriteCond %{REQUEST_FILENAME}.php -f
+  RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L]
+</IfModule>

Benjamin Mako Hill || Want to submit a patch?