beckchr/musicmount/master/dist/cfg/sample.htaccess - Htaccess File

beckchr/musicmount/master/dist/cfg/sample.htaccess

# setup authentication
#AuthType Basic
#AuthName "Joe's Music"
#AuthUserFile /path/to/.htpasswd
#Require valid-user

# set JSON directory index
DirectoryIndex index.json

# make the music link work
Options +FollowSymlinks

# add audio content types
AddType audio/mpeg .mp3
AddType audio/mp4 .m4a
AddType text/json .json

# set JSON content charset
AddCharset UTF-8 .json

# enable JSON compression
AddOutputFilterByType DEFLATE text/json

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache