18 lines
450 B
ApacheConf
18 lines
450 B
ApacheConf
RewriteEngine on
|
|
RewriteCond %{HTTPS} off
|
|
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
DirectoryIndex index.php
|
|
|
|
#Determina o timezone
|
|
php_value date.timezone "America/Sao_Paulo"
|
|
|
|
php_value upload_max_filesize 50M
|
|
php_value post_max_size 50M
|
|
php_value max_execution_time 300
|
|
php_value max_input_time 300
|
|
php_value memory_limit 512M
|
|
|
|
|
|
#Redirecionamento
|
|
RewriteRule ^home$ index.php
|