]> projects.mako.cc - scuttle/blob - .htaccess
89f6dfdd03ee09661875aca782801090bb38dfd1
[scuttle] / .htaccess
1 # Rewrite clean URLs onto real files
2 <IfModule mod_rewrite.c>
3 Options +FollowSymlinks
4 <IfDefine APACHE2>
5     AcceptPathInfo On
6 </IfDefine>
7 RewriteEngine On
8 RewriteBase /
9 RewriteCond %{REQUEST_FILENAME} !-f
10 RewriteCond %{REQUEST_FILENAME} !-d
11 RewriteCond %{REQUEST_FILENAME}.php -f
12 RewriteRule ^([^/]+)/?(.*)      $1.php/$2   [L]
13 </IfModule>

Benjamin Mako Hill || Want to submit a patch?