T. Yes mod-rewrite is the way to go. What Matthias sent is how we are doing it. but for backwards compatibility in our apps I also include a function to replace http:// with https:// in any URL in our apps. BR