jonaszielke/prjct/master/.htaccess - Htaccess File

jonaszielke/prjct/master/.htaccess

#AddHandler x-httpd-php56 .php

<IfModule mod_expires.c>
    <FilesMatch ".(js|ico|gif|jpg|png|css)$">
        ExpiresActive on
        ExpiresDefault "access plus 10 day"
    </FilesMatch>
</IfModule>

<FilesMatch ".(mov|mp3|jpg|pdf)$">
    ForceType application/octet-stream
    Header set Content-Disposition attachment
</FilesMatch>

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*?)[^/]+/?$ $1index.php [L,NC]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache