Jignesh Badani said:
> We have a similar problem.
>
> We have always been doing it the Virtual host way (virtual on port 80
> redirects (permanant) to virtual on 443). In my Virtual host for port 80,
> I have:
>
> Redirect permanent      /       https://www.mysite.com/home/index.htm

This should be RedirectPermanent / https://www.mysite.com/

What RedirectPermanent (or Redirect permanent) basically does is replacing
the first argument with the second, even if something comes behind it. So
in your rule, /foo/bar is changed to
https://www.mysite.com/home/index.htmfoo/bar (replacing the leading / with
the replace-pattern).

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to