Re: Redirect issues for SSL sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 18, 2007 11:50 AM, Ryan Klein <ryan@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux