sofar/album/master/.htaccess
AuthName "Private Area - Restricted Access" AuthType Basic AuthUserFile /var/www/htdocs-ssl/.htpasswd Require valid-user AddType audio/ogg oga ogg AddType video/ogg ogv All RewriteEngine on # rewrite album folder names to album.php serving code RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_URI} !^$ RewriteCond %{REQUEST_URI} !^/$ RewriteRule ^(.*)/(.*)$ /index.php?a=$1&i=$2