55 lines
2.0 KiB
ApacheConf
55 lines
2.0 KiB
ApacheConf
|
|
RewriteEngine on
|
|
Options -Indexes
|
|
|
|
# <FilesMatch "\.(jpg|png|gif|html|js|css|svg|xml|mp3|mp4)$">
|
|
# Header set Cache-Control "no-cache, must-revalidate"
|
|
# </FilesMatch>
|
|
|
|
RewriteCond %{HTTP_HOST} ^induccion\-estafeta\.com$ [OR]
|
|
RewriteCond %{HTTP_HOST} ^www\.induccion\-estafeta\.com$
|
|
RewriteRule ^/?$ "https\:\/\/induccion\-estafeta\.com\.mx\/" [R=301,L]
|
|
|
|
|
|
RewriteCond %{HTTP_REFERER} !^https://induccion-estafeta.com.mx/.*$ [NC]
|
|
RewriteCond %{HTTP_REFERER} !^https://induccion-estafeta.com.mx/.*$ [NC]
|
|
RewriteRule .(mp4|mp3|avi)$ - [F]
|
|
|
|
|
|
# php -- BEGIN cPanel-generated handler, do not edit
|
|
# Configure el paquete “ea-php74” como el lenguaje de programación predeterminado “PHP”.
|
|
<IfModule mime_module>
|
|
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
|
|
</IfModule>
|
|
# php -- END cPanel-generated handler, do not edit
|
|
|
|
# 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)
|
|
<IfModule php7_module>
|
|
php_flag display_errors Off
|
|
php_value max_execution_time 600
|
|
php_value max_input_time 600
|
|
php_value max_input_vars 5000
|
|
php_value memory_limit 512M
|
|
php_value post_max_size 80M
|
|
php_value session.gc_maxlifetime 86400
|
|
php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
|
|
php_value upload_max_filesize 800M
|
|
php_flag zlib.output_compression On
|
|
</IfModule>
|
|
<IfModule lsapi_module>
|
|
php_flag display_errors Off
|
|
php_value max_execution_time 600
|
|
php_value max_input_time 600
|
|
php_value max_input_vars 5000
|
|
php_value memory_limit 512M
|
|
php_value post_max_size 80M
|
|
php_value session.gc_maxlifetime 86400
|
|
php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
|
|
php_value upload_max_filesize 800M
|
|
php_flag zlib.output_compression On
|
|
</IfModule>
|
|
# END cPanel-generated php ini directives, do not edit
|