# To use search engine friendly URLs check that mod_rewrite is enabled, and then copy # this file to .htaccess ## Not Found ErrorDocument 404 /index.php?error=404 # Activate rewriting # RewriteEngine On # RewriteBase / # Blog RewriteRule ^blog/([0-9]+) index.php?gadget=Blog&action=SingleView&id=$1 RewriteRule ^blog/archive/ index.php?gadget=Blog&action=Archive RewriteRule ^blog/*$ index.php?gadget=Blog # Phoo RewriteRule ^photos/([0-9]+)/([0-9]+) index.php?gadget=Phoo&action=ViewImage&id=$2&albumid=$1 RewriteRule ^photos/([0-9]+)/ index.php?gadget=Phoo&action=ViewAlbum&id=$1 RewriteRule ^photos/ index.php?gadget=Phoo # Encoding issues AddType 'text/html; charset=UTF-8' html AddType 'text/xml; charset=UTF-8' atom rss xml RewriteEngine on RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}] RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}] # RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]