RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^martin-g.cl\.cl$ [OR]
RewriteCond %{HTTP_HOST} ^www\.martin-g.cl\.cl$
RewriteRule ^/?$ "https\:\/\/martin-g.cl\.cl\/" [R=301,L]
Options -Indexes

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

SetEnv PHPRC

<IfModule php5_module>
   php_flag asp_tags Off
   php_flag display_errors On
   php_value max_execution_time 90
   php_value max_input_time 90
   php_value max_input_vars 20000
   php_value memory_limit 150M
   php_value post_max_size 150M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "temp"
   php_value upload_max_filesize 300M
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
   php_flag asp_tags Off
   php_flag display_errors On
   php_value max_execution_time 90
   php_value max_input_time 90
   php_value max_input_vars 20000
   php_value memory_limit 150M
   php_value post_max_size 150M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "temp"
   php_value upload_max_filesize 300M
   php_flag zlib.output_compression On
</IfModule>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# END cPanel-generated php ini directives, do not edit
