##AddType application/xml .xsl ##AddHandler user-type-php .php # # RewriteEngine on # Rewrite URLs of the form 'index.php?q=x': # RewriteCond %{REQUEST_URI} !\.(jpg|css|gif|pdf|swf|doc|js|ico)$ [NC] # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule ^(.*)$ index.php?path=$1 [L,QSA] #