> I noticed that some search engines have indexed both
> http://www.mysite.com and https://www.mysite.com
>
> I'm seeking suggestions for how to prevent this. Maybe an IC trick, or
> an Apache rewrite trick? Any thoughts would be appreciated.
>
> DB
After some emailed feedback and some reading, I came up with:
[tmp server_port][env SERVER_PORT][/tmp]
[if scratch server_port == 443]
[tmp bounce_url][area href="" secure=0 no_session=1][/tmp]
[bounce href="[scratch bounce_url]" status="301 Moved"]
[/if]
and this works. Now https://www.mydomain.com/page.html will 301 to
http://www.mydomain.com/ which is progress, but I'd rather have end up
at http://www.mydomain.com/page.html
Does anyone know how?
Thanks!
DB
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.