httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Redirect issues for SSL sites
Date Tue, 18 Dec 2007 18:00:51 GMT
On Dec 18, 2007 11:50 AM, Ryan Klein <ryan@onyourmark.com> wrote:
> I am having an issue redirecting a domain, twice? The general layout is
> I have www.domain.com and domain.com redirect to https://domain.com, the
> problem I am having is how to have https://www.domain.com redirect to
> https://domain.com without giving a certificate error saying the
> certificate is for domain.com and _not_ www.domain.com? Thank you for
> any help on this.

To do this you'll need a valid SSL certificate for www.domain.com. The
redirect is sent only after the SSL connection is negotiated (because
the redirect itself could potentially be sensitive information, and
because the SSL negotiation happens at a higher network level than the
HTTP headers that carry the redirect). So if you can't negotiate a
valid SSL connection, you can't send a redirect.

Joshua.

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message