RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?album=$1 [L,QSA] <Files php.ini> Order allow,deny Deny from all </Files>
info at phpclasses dot org