Kekesed/KentangPanggang27/master/.htaccess - Htaccess File

Kekesed/KentangPanggang27/master/.htaccess

# Enable rewrite engine and route requests to framework
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]

# Disable ETags
<IfModule mod_headers.c>
  Header Unset ETag
  FileETag none
</IfModule>

# Default expires header if none specified (stay in browser cache for 7 days)
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A604800
</IfModule>

ErrorDocument 404 index.php
ErrorDocument 403 index.php
ErrorDocument 500 index.php
ErrorDocument 400 index.php
DefaultIndex index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache