zvini/website/master/www/.htaccess - Htaccess File

zvini/website/master/www/.htaccess

# auto-generated
SetEnv HTACCESS_WORKING 1

RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.localhost$
RewriteRule (.*) http://localhost/$1 [R=301,L]

<IfModule mod_headers.c>
    <FilesMatch ".(css|js|png|svg|ttf)$">
        Header set Cache-Control "public, max-age=31536000"
    </FilesMatch>
</IfModule>

DirectoryIndex index.php

ErrorDocument 403 /403.php
ErrorDocument 404 /404.php

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache