Hi everybody,
I am struggling with redirecting HTTPS sessions to another domain. I am trying to accomplish this by URL rewriting.
I have the following set of domains:
1) a.eu
2) a.com
3) a.nl
Now I want all domains for http and https be redirected to https://a.eu, this is the interesting part from my httpd.conf.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^a.eu [NC]
RewriteRule ^/(.*) https://www.a.eu:443/$1 [L,R]
It is partly working, but I cannot get the https sessions from (a.com) and (a.nl) be redirected to https://a.eu. It seems that they are not caught in this little piece of code.
Does anybody have experience with this phenomenon?
Any help is greatly appreciated.
Warm regards,
Jan
I am struggling with redirecting HTTPS sessions to another domain. I am trying to accomplish this by URL rewriting.
I have the following set of domains:
1) a.eu
2) a.com
3) a.nl
Now I want all domains for http and https be redirected to https://a.eu, this is the interesting part from my httpd.conf.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^a.eu [NC]
RewriteRule ^/(.*) https://www.a.eu:443/$1 [L,R]
It is partly working, but I cannot get the https sessions from (a.com) and (a.nl) be redirected to https://a.eu. It seems that they are not caught in this little piece of code.
Does anybody have experience with this phenomenon?
Any help is greatly appreciated.
Warm regards,
Jan