TEXT   20

htaccess

Guest on 21st August 2022 08:10:25 AM

  1.  RewriteEngine on
  2. RewriteCond %{REQUEST_FILENAME} !-f
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteRule .* index.php?/$0 [PT,L]
  5.  
  6.  
  7.  
  8. <Files index.php>
  9.     Order Allow,Deny
  10.     Allow from all
  11. </Files>
  12.  
  13. # BEGIN cPanel-generated php ini directives, do not edit
  14. # Manual editing of this file may result in unexpected behavior.
  15. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  16. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  17. <IfModule php7_module>
  18.    php_flag display_errors Off
  19.    php_value max_execution_time 30
  20.    php_value max_input_time 60
  21.    php_value max_input_vars 1000
  22.    php_value memory_limit 64M
  23.    php_value post_max_size 8M
  24.    php_value session.gc_maxlifetime 1440
  25.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  26.    php_value upload_max_filesize 2M
  27.    php_flag zlib.output_compression Off
  28. </IfModule>
  29. <IfModule lsapi_module>
  30.    php_flag display_errors Off
  31.    php_value max_execution_time 30
  32.    php_value max_input_time 60
  33.    php_value max_input_vars 1000
  34.    php_value memory_limit 64M
  35.    php_value post_max_size 8M
  36.    php_value session.gc_maxlifetime 1440
  37.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  38.    php_value upload_max_filesize 2M
  39.    php_flag zlib.output_compression Off
  40. </IfModule>
  41. # END cPanel-generated php ini directives, do not edit
  42.  
  43. # BEGIN cPanel-generated php ini directives, do not edit
  44. # Manual editing of this file may result in unexpected behavior.
  45. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  46. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  47. <IfModule php7_module>
  48.    php_flag display_errors Off
  49.    php_value max_execution_time 20
  50.    php_value max_input_time 60
  51.    php_value max_input_vars 10000
  52.    php_value memory_limit 64M
  53.    php_value post_max_size 8M
  54.    php_value session.gc_maxlifetime 1440
  55.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  56.    php_value upload_max_filesize 8M
  57.    php_flag zlib.output_compression On
  58. </IfModule>
  59. <IfModule lsapi_module>
  60.    php_flag display_errors Off
  61.    php_value max_execution_time 20
  62.    php_value max_input_time 60
  63.    php_value max_input_vars 10000
  64.    php_value memory_limit 64M
  65.    php_value post_max_size 8M
  66.    php_value session.gc_maxlifetime 1440
  67.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  68.    php_value upload_max_filesize 8M
  69.    php_flag zlib.output_compression On
  70. </IfModule>
  71. # END cPanel-generated php ini directives, do not edit
  72.  
  73. # BEGIN cPanel-generated php ini directives, do not edit
  74. # Manual editing of this file may result in unexpected behavior.
  75. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  76. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  77. <IfModule php7_module>
  78.    php_flag display_errors Off
  79.    php_value max_execution_time 30
  80.    php_value max_input_time 60
  81.    php_value max_input_vars 1000
  82.    php_value memory_limit 64M
  83.    php_value post_max_size 8M
  84.    php_value session.gc_maxlifetime 1440
  85.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  86.    php_value upload_max_filesize 8M
  87.    php_flag zlib.output_compression On
  88. </IfModule>
  89. <IfModule lsapi_module>
  90.    php_flag display_errors Off
  91.    php_value max_execution_time 30
  92.    php_value max_input_time 60
  93.    php_value max_input_vars 1000
  94.    php_value memory_limit 64M
  95.    php_value post_max_size 8M
  96.    php_value session.gc_maxlifetime 1440
  97.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  98.    php_value upload_max_filesize 8M
  99.    php_flag zlib.output_compression On
  100. </IfModule>
  101. # END cPanel-generated php ini directives, do not edit
  102.  
  103. # BEGIN cPanel-generated php ini directives, do not edit
  104. # Manual editing of this file may result in unexpected behavior.
  105. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  106. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  107. <IfModule php7_module>
  108.    php_flag display_errors Off
  109.    php_value max_execution_time 30
  110.    php_value max_input_time 60
  111.    php_value max_input_vars 1000
  112.    php_value memory_limit 128M
  113.    php_value post_max_size 8M
  114.    php_value session.gc_maxlifetime 1440
  115.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  116.    php_value upload_max_filesize 8M
  117.    php_flag zlib.output_compression On
  118. </IfModule>
  119. <IfModule lsapi_module>
  120.    php_flag display_errors Off
  121.    php_value max_execution_time 30
  122.    php_value max_input_time 60
  123.    php_value max_input_vars 1000
  124.    php_value memory_limit 128M
  125.    php_value post_max_size 8M
  126.    php_value session.gc_maxlifetime 1440
  127.    php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
  128.    php_value upload_max_filesize 8M
  129.    php_flag zlib.output_compression On
  130. </IfModule>
  131. # END cPanel-generated php ini directives, do not edit
  132.  
  133. # php -- BEGIN cPanel-generated handler, do not edit
  134. # Set the ā€œea-php74ā€¯ package as the default ā€œPHPā€¯ programming language.
  135. <IfModule mime_module>
  136.   AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
  137. </IfModule>
  138. # php -- END cPanel-generated hand

Raw Paste


Login or Register to edit or fork this paste. It's free.