Htaccess File

pedra/vote/master/.htaccess

REQUEST_FILENAME
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>
Exit mobile version