sofar/album/master/.htaccess - Htaccess File

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

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache