fabianofs/serie-criando-sistema-de-cadastro-e-login/master/.htaccess - Htaccess File

fabianofs/serie-criando-sistema-de-cadastro-e-login/master/.htaccess

Options +FollowSymLinks
Options -Indexes

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /assembleia/
  RewriteRule ^index.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /assembleia/index.php [L]
</IfModule>

<Files ~ "^.(htaccess|htpasswd)$">
  deny from all
</Files>

<IfModule mod_deflate.c>
  <FilesMatch ".(js|css|jpg|png|gif|ico|php|html|htm)$">
    <ifModule mod_filter.c>
      SetOutputFilter DEFLATE
      AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/html text/plain text/xml image/x-icon
    </IfModule>
  </FilesMatch>
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache