]> projects.mako.cc - scuttle/blobdiff - .htaccess
* Fixed REG_BADRPT error in isValidEmail() that prevented registration
[scuttle] / .htaccess
index af3cae928ef4301806388e4c6425cbda69afb59f..89f6dfdd03ee09661875aca782801090bb38dfd1 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,5 @@
+# Rewrite clean URLs onto real files
+<IfModule mod_rewrite.c>
 Options +FollowSymlinks
 <IfDefine APACHE2>
     AcceptPathInfo On
@@ -8,3 +10,4 @@ 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?