Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $config['base_url'] = 'https://'.$_SERVER['SERVER_NAME'].'/sendit/';
  2.  
  3. <IfModule mod_rewrite.c>
  4. RewriteEngine On
  5. RewriteCond %{HTTPS} !=on
  6. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  7.  
  8.  
  9. RewriteCond $1 !^(index.php|resources|robots.txt)
  10. RewriteCond %{REQUEST_FILENAME} !-f
  11. RewriteCond %{REQUEST_FILENAME} !-d
  12. RewriteRule ^(.*)$ index.php/$1 [L,QSA]
  13. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement