Forum Moderators: phranque
http://localhost/web/guest/home?p_p_id=58&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=/login/create_account [edited by: jdMorgan at 2:38 pm (utc) on Apr 21, 2010]
[edit reason] De-linked localhost URL [/edit]
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{QUERY_STRING} ^([^&]*&)*_58_struts_action=/login/create_account(&.*)?$
RewriteRule ^$ https://%{HTTP_HOST}/ [R=301,L]
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{QUERY_STRING} struts_action=(create_account)*
RewriteRule ^(.*)$ https://%{SERVER_NAME}/%{REQUEST_URI} [NE,R,L] struts_action=(create_account)* allows a URL request like example.com/struts_action=create_accountcreate_accountcreate_account to be valid. Change the * to ? instead.