veretilosergei1985/angular-films/master/frontend/.htaccess - Htaccess File

veretilosergei1985/angular-films/master/frontend/.htaccess

RewriteEngine on

<FilesMatch ".(ttf|otf|eot|woff|jpg|png|jpeg|gif|js|json|html|css)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>

# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php

RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache