pedra/vote/master/.htaccess - Htaccess File

pedra/vote/master/.htaccess

AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss .atom
AddType application/x-httpd-php phar
FileETag INode MTime Size
ServerSignature Off

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?vote=$1 [QSA,L]

<IfModule mod_expires.c>
  ExpiresActive  On
  ExpiresDefault "access plus 1 week"
  ExpiresByType  text/html "access plus 1 day"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache