public
Description: Fork from http://www.phoboslab.org/projects/asaph
Clone URL: git://github.com/stan/asaph.git
stan (author)
Tue Jun 03 04:49:12 -0700 2008
asaph / .htaccess
100644 10 lines (9 sloc) 0.348 kb
1
2
3
4
5
6
7
8
9
10
<IfModule mod_rewrite.c>
  # Add 'rw' parameter, so we can detect whether mod_rewrite is enabled
  RewriteEngine on
  RewriteRule ^$ index.php?rw
  
  # Rewrite everything to index.php if it is not a real file or directory
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?rw=$1
</IfModule>