Author: Bertrand Mercier
Email: [EMAIL PROTECTED]
Message:
if you use a Windows version (my case), under ASP, I do a little test like : 

if the http_agent is udmsearch then no more SSL
else, this is a user, so force SSL.

When the searchengine will index the pages, it will index pages like 
http://www.myserver.com/test.asp and not https://www.myserver.com/test.asp but ... you 
can force the (if it's as user) to redirect to the https site with something like :

If Request.ServerVariables("SERVER_PORT")=80 then
        strSecureURL = "https://";
        strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
        strSecureURL = strSecureURL & Request.ServerVariables("URL")
        if request.Querystring <> "" then
                strSecureURL = strSecureURL & "?" & request.Querystring
        end if
        Response.Redirect strSecureURL
End If

so, the indexer will index HTTP but when the user click on the link, he is redirected 
to HTTPS.



Reply: <http://www.mnogosearch.org/board/message.php?id=2555>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to