Skip to content

Instantly share code, notes, and snippets.

@steveosoule
Created November 7, 2012 20:18
Show Gist options
  • Save steveosoule/4034131 to your computer and use it in GitHub Desktop.
Save steveosoule/4034131 to your computer and use it in GitHub Desktop.
Force Secure URL on a specific page
# Force secure mode access for Miva Merchant admin.mvc:
RewriteEngine On
RewriteCond %{REQUEST_URI} /mm5/admin.mvc
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://www.walleyedirect.com/mm5/admin.mvc [R]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment