Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Redirect to a particular page
- # Forcing HTTPS
- RewriteCond %{HTTPS} !=on [OR]
- RewriteCond %{SERVER_PORT} 80
- # Pages to Apply
- RewriteCond %{REQUEST_URI} ^/docs/test.txt
- RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement