Current File : /home/escuelai/public_html/it/.htaccess |
RewriteEngine on
RewriteOptions inherit
# If you have problem with session.auto_start or session.use_trans_sid on install
# you need to set these configuration values to 0 in php.ini or uncomment these lines
#php_value session.auto_start 0
#php_value session.use_trans_sid 0
# The following lines enable the apache rewriting for the api. You can use url like http://glpi/api/.
#<IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule api/(.*)$ apirest.php/$1
#</IfModule>
# You can uncomment following lines to enable caching of web assets (pictures, javascript files, etc)
#<IfModule mod_expires.c>
# ExpiresActive On
# ExpiresByType image/jpg "access 1 year"
# ExpiresByType image/jpeg "access 1 year"
# ExpiresByType image/gif "access 1 year"
# ExpiresByType image/png "access 1 year"
# ExpiresByType text/css "access 1 year"
# ExpiresByType text/x-javascript "access 1 year"
# ExpiresByType text/javascript "access 1 year"
# ExpiresByType application/javascript "access 1 year"
#</IfModule>
#----------------------------------------------------------------cp:ppd
# Section managed by cPanel: Password Protected Directories -cp:ppd
# - Do not edit this section of the htaccess file! -cp:ppd
#----------------------------------------------------------------cp:ppd
AuthType Basic
AuthName "Protected 'public_html/it'"
AuthUserFile "/home/escuelai/.htpasswds/public_html/it/passwd"
Require valid-user
#----------------------------------------------------------------cp:ppd
# End section managed by cPanel: Password Protected Directories -cp:ppd
#----------------------------------------------------------------cp:ppd
# 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 php8_module>
php_flag display_errors Off
php_value max_execution_time 600
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 64M
php_value post_max_size 8M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
php_value upload_max_filesize 2M
php_flag zlib.output_compression Off
php_flag session.auto_start Off
php_flag session.use_trans_sid Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 600
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 64M
php_value post_max_size 8M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
php_value upload_max_filesize 2M
php_flag zlib.output_compression Off
php_flag session.auto_start Off
php_flag session.use_trans_sid Off
</IfModule>
# END cPanel-generated php ini directives, do not edit
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit