Htaccess File

hoangngk/angular-blog/master/.htaccess

REQUEST_FILENAME
<ifModule mod_headers.c>
    Header set Access-Control-Allow-Origin: *
</ifModule>
RewriteEngine on
# 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
Exit mobile version