Advertisement
Guest User

Untitled

a guest
Dec 13th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. <IfModule mod_negotiation.c>
  3. Options -MultiViews
  4. </IfModule>
  5.  
  6. RewriteEngine On
  7.  
  8. RewriteCond %{HTTP_HOST} ^fbs.travel [NC]
  9. RewriteRule ^(.*)$ https://www.fbs.travel/$1 [L,R=301,NC]
  10.  
  11. # Redirect Trailing Slashes If Not A Folder...
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. RewriteRule ^(.*)/$ /$1 [L,R=301]
  14.  
  15. # Handle Front Controller...
  16. RewriteCond %{REQUEST_FILENAME} !-d
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18. RewriteRule ^ index.php [L]
  19.  
  20. # Handle Authorization Header
  21. RewriteCond %{HTTP:Authorization} .
  22. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  23. </IfModule>
  24.  
  25. ==============================================================
  26. RewriteCond %{SERVER_PORT} 80
  27. RewriteRule ^(.*)$ https://www.fbs.travel/$1 [R,L]
  28.  
  29. <IfModule mod_rewrite.c>
  30. <IfModule mod_negotiation.c>
  31. Options +FollowSymLinks -Indexes
  32. Options -MultiViews
  33. </IfModule>
  34.  
  35. RewriteEngine On
  36.  
  37. # Redirect Trailing Slashes If Not A Folder...
  38. RewriteCond %{REQUEST_FILENAME} !-d
  39. RewriteRule ^(.*)/$ /$1 [L,R=301]
  40.  
  41. # Handle Front Controller...
  42. RewriteCond %{REQUEST_FILENAME} !-d
  43. RewriteCond %{REQUEST_FILENAME} !-f
  44. RewriteRule ^ index.php [L]
  45.  
  46. # Handle Authorization Header
  47. RewriteCond %{HTTP:Authorization} .
  48. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  49. </IfModule>
  50.  
  51. # BEGIN cPanel-generated php ini directives, do not edit
  52. # Manual editing of this file may result in unexpected behavior.
  53. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
  54. # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
  55. <IfModule php5_module>
  56. php_flag asp_tags Off
  57. php_flag display_errors Off
  58. php_value max_execution_time 300
  59. php_value max_input_time 120
  60. php_value max_input_vars 10000
  61. php_value memory_limit 128M
  62. php_value session.gc_maxlifetime 1440
  63. php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
  64. php_value upload_max_filesize 500M
  65. </IfModule>
  66. # END cPanel-generated php ini directives, do not edit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement