Forum Discussion

zafer's avatar
zafer
Icon for Nimbostratus rankNimbostratus
Jun 15, 2009

Secure signing like hotmail

Hello

 

 

i want use https for only logging page, i receive alot of security warning messages from internet explorer changing page from unsecure the secure or secure the unsecure

 

 

how can i fix warning messages?

 

 

here is the rules

 

 

for http vip

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] equals "/" } {

 

HTTP::redirect "https://www.domain.com/logon/login.php"

 

} elseif { ( [HTTP::uri] starts_with "/logon/login.php") } {

 

HTTP::redirect "https://www.domain.com[HTTP::uri]"

 

}

 

}

 

-------------------------------------------------------

 

for https vip

 

 

when HTTP_REQUEST {

 

if { [HTTP::uri] starts_with "/logon/login.php" } {

 

log "blahblah"

 

} elseif { ( [HTTP::uri] equals "" ) or ( [HTTP::uri] equals "/") } {

 

log "blahblah3"

 

} else {

 

HTTP::redirect "http://www.domain.com[HTTP::uri]"

 

}

 

}

2 Replies

  • If you reference HTTP content in an HTTPS page or redirect to an HTTP location, the browser may generate an insecure content warning depending on its configuration. You can avoid this by not referencing HTTP from an HTTPS page.

     

     

    Aaron
  • zafer's avatar
    zafer
    Icon for Nimbostratus rankNimbostratus
    internet explorer gives warning message one time, its ok but i have multiple times warning messages, it seems it shows warning messages for all page contents.

     

     

    1 times warning message ok but not multiple times?

     

     

    zafer