Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IfModule mod_rewrite.c>
  2.  
  3.     <IfModule mod_negotiation.c>
  4.  
  5.         Options -MultiViews -Indexes
  6.  
  7.     </IfModule>
  8.  
  9.  
  10.  
  11.     RewriteEngine On
  12.  
  13.  
  14.  
  15.     # Handle Authorization Header
  16.  
  17.     RewriteCond %{HTTP:Authorization} .
  18.  
  19.     RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  20.  
  21.  
  22.  
  23.     # Redirect Trailing Slashes If Not A Folder...
  24.  
  25.     RewriteCond %{REQUEST_FILENAME} !-d
  26.  
  27.     RewriteCond %{REQUEST_URI} (.+)/$
  28.  
  29.     RewriteRule ^ %1 [L,R=301]
  30.  
  31.  
  32.  
  33.     # Handle Front Controller...
  34.  
  35.     RewriteCond %{REQUEST_FILENAME} !-d
  36.  
  37.     RewriteCond %{REQUEST_FILENAME} !-f
  38.  
  39.     RewriteRule ^ index.php [L]
  40.    
  41.     #HTTPS
  42.    
  43.     RewriteCond %{SERVER_PORT} 80
  44.     RewriteRule ^(.*)$ https://www.hollowrp.xyz/$1 [R,L]
  45.  
  46. </IfModule>
  47.  
  48. # php -- BEGIN cPanel-generated handler, do not edit
  49. # Set the “ea-php72” package as the default “PHP” programming language.
  50. <IfModule mime_module>
  51.   AddType application/x-httpd-ea-php72 .php .php7 .phtml
  52. </IfModule>
  53. # php -- END cPanel-generated handler, do not edit
  54.  
  55. # BEGIN cPanel-generated php ini directives, do not edit
  56. # Manual editing of this file may result in unexpected behavior.
  57. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  58. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  59. <IfModule php7_module>
  60.    php_flag display_errors Off
  61.    php_value max_execution_time 30
  62.    php_value max_input_time 60
  63.    php_value max_input_vars 1000
  64.    php_value memory_limit 128M
  65.    php_value post_max_size 15M
  66.    php_value session.gc_maxlifetime 1440
  67.    php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
  68.    php_value upload_max_filesize 13M
  69.    php_flag zlib.output_compression On
  70. </IfModule>
  71. <IfModule lsapi_module>
  72.    php_flag display_errors Off
  73.    php_value max_execution_time 30
  74.    php_value max_input_time 60
  75.    php_value max_input_vars 1000
  76.    php_value memory_limit 128M
  77.    php_value post_max_size 15M
  78.    php_value session.gc_maxlifetime 1440
  79.    php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
  80.    php_value upload_max_filesize 13M
  81.    php_flag zlib.output_compression On
  82. </IfModule>
  83. # END cPanel-generated php ini directives, do not edit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement