code_junkie

Apache Redirect only when entering a password

Nov 11th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. RewriteRule http://%{SERVER_NAME}/openid/index.php(?.+)$ https://%{SERVER_NAME}/openid/index.php$1
  2.  
  3. RewriteCond %{SERVER_PORT} 80
  4. RewriteCond %{QUERY_STRING} (.+)
  5. RewriteRule /openid/index.php https://%{SERVER_NAME}/openid/index.php?%1
  6.  
  7. RewriteCond %{SERVER_PORT} 80
  8. RewriteCond %{QUERY_STRING} (.+)
  9. RewriteRule openid/index.php https://%{SERVER_NAME}/openid/index.php?%1
  10.  
  11. RewriteCond %{SERVER_PORT} 80
Add Comment
Please, Sign In to add comment