Guest User

Untitled

a guest
Feb 13th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. http://www.example.com/index.php?option=com_acysms&ctrl=deliveryreport&gateway=telerivet&pass=S6fd65thisisafakepasswordstring
  2.  
  3. RewriteEngine On
  4.  
  5. RewriteCond %{HTTP_HOST} !^www.
  6. RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  7.  
  8. # force https:// for all except some selected URLs
  9. RewriteCond %{HTTPS} off
  10. RewriteCond %{THE_REQUEST} !/index.php?option=com_acysms&ctrl=deliveryreport&gateway=telerivet&pass=S6fd65thisisafakepasswordstring/ [NC]
  11. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  12.  
  13. # force http:// for selected URLs
  14. RewriteCond %{HTTPS} on
  15. RewriteCond %{THE_REQUEST} /index.php?option=com_acysms&ctrl=deliveryreport&gateway=telerivet&pass=S6fd65thisisafakepasswordstring/ [NC]
  16. RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Add Comment
Please, Sign In to add comment