AdrienKuhn/hackazon/master/web/.htaccess - Htaccess File

AdrienKuhn/hackazon/master/web/.htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/helpdesk$
RewriteRule .* / [PT,L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php?$0 [PT,L,QSA]

<IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
        <FilesMatch ".(cur|gif|ico|jpe?g|png|svgz?|webp|woff)$">
            SetEnvIf Origin ":" IS_CORS
            Header set Access-Control-Allow-Origin "*" env=IS_CORS
        </FilesMatch>
    </IfModule>
</IfModule>

#<IfModule mod_headers.c>
#    Header set Access-Control-Allow-Origin "*"
#</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache