SHARE
TWEET

Untitled

a guest Dec 6th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteEngine on
  2.  
  3. RewriteCond %{HTTP_HOST} !^
  4. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  5. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  6. RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  7.  
  8. #RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
  9.  
  10.  
  11. RewriteCond %{HTTPS} off
  12. RewriteRule ^ https://%2%{REQUEST_URI} [R=301,L]
  13. RewriteCond %{REQUEST_URI} !public/
  14. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
  15. RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  16. RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
  17. RewriteRule (.*) /public/$1 [L]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top