# # This .htaccess file, and the ideas behind it and the whole Clean URL system # are adapted from the one used by Drupal (http://drupal.org). # # Apache/PHP/site settings: # RewriteEngine on # Rewrite URLs of the form 'index.php?path=x': RewriteCond %{REQUEST_URI} !\.(jpg|css|gif|pdf|swf|html|doc|js|ico)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?path=$1 [L,QSA]