avolf/gallery-html5video/master/html5video/views/.htaccess - Htaccess File

avolf/gallery-html5video/master/html5video/views/.htaccess

# First, deny access to all files in this directory
<Files "*">
<IfModule mod_version.c>
  <IfVersion < 2.4>
    Order Deny,Allow
    Deny from All
  </IfVersion>
  <IfVersion >= 2.4>
    Require all denied
  </IfVersion>
</IfModule>
<IfModule !mod_version.c>
  <IfModule !mod_authz_core.c>
    Order Deny,Allow
    Deny from All
  </IfModule>
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
</IfModule>
</Files>
# Allow to serve static files which are safe
<Files ~ ".(test.php|gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi)$">
<IfModule mod_version.c>
  <IfVersion < 2.4>
    Order Allow,Deny
    Allow from All
  </IfVersion>
  <IfVersion >= 2.4>
    Require all granted
  </IfVersion>
</IfModule>
<IfModule !mod_version.c>
  <IfModule !mod_authz_core.c>
    Order Allow,Deny
    Allow from All
  </IfModule>
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
</IfModule>
</Files>

On Github License

Files

Download PDF of Htaccess file
static

Comments

Apache