Advertisement
antonku

Untitled

Dec 13th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #Redirect to a particular page
  2. # Forcing HTTPS
  3. RewriteCond %{HTTPS} !=on [OR]
  4. RewriteCond %{SERVER_PORT} 80
  5. # Pages to Apply
  6. RewriteCond %{REQUEST_URI} ^/docs/test.txt
  7. RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement