httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Goldschmidt <sgoldschm...@tricofcu.com>
Subject [users@httpd] SSl Redirect
Date Wed, 08 Apr 2009 13:04:20 GMT
Hello

I am using apache and have a Virtualhost enabled with ssl and this works great, using a godaddy
ssl cert.

my question is the certificate is only assigned to one domain name. www.domain.com

so in my browser if i go to www.domain.com or domain.com the ssl certificate works with no
problems.

i am having an issue with having www.domain.org and www.domain.net redirect to www.domain.com
over port 443. Since apache does not support NamedVirthual Hosts over port 443 how can i create
a virtual host using the name and alias of www.domain.net and www.domain.org using port 443
and redirect to vhost www.domain.com?

if i try to add a second vhost using the same ip and port apache does not like it but i don't
want to use another routeable ip to get this to work.

i want is for domain x to have the signed cert and have domain y and z redirct on the apache
side to domain x. domain y and z will not have separate content

my problem is when i create another <virtualhost 192.168.100.25:443> for domain y and
z, since domain x already has <virtualhost 192.168.100.25:443> upon restart of apache
i get an error stating that domain 192.168.100.25:443 already is assigned, and that i should
try the <named virtual host *:443> directive. but since apache does not support <named
virtual host> over ssl port 443 i don't know how to set up domain y and z to redirect to
domain x.

can i add the redirect of y and z domain inside of the <virtualhost> for x domain? i
tried it by addind redirect / https://domain.com/ and the site just sits in a loop and does
not open. am i missing something or does this redirect have to be tagged otherway first?

Can this be done? or can i add these redirect in the original ssl enabled vhost?

or has anyone had success with mod_gnutls? if so how do you set this up with ubuntu 8.10?

Thanks


[cid:image001.jpg@01C9B828.5BD729C0]

[cid:image002.jpg@01C9B828.5BD729C0]


          Stephen Goldschmidt - IT Administrator
        1240 Sussex Turnpike | Randolph | NJ |07869
          Phone: 973.895.6718 | Mobile: 201.247.8962
        sgoldschmidt@tricofcu.com | www.tricofcu.com







CONFIDENTIALITY NOTICE:


This message contains information that may be confidential and is intended only for the use
of the individual or entity named above.  If you are not the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this communication is strictly
prohibited.  If you have received this communication in error, please immediately notify us
by return email and destroy any copies, electronic, paper or otherwise, which you may have
of this communication.


This email message has been scanned for Viruses and Content and cleared by Symantec Mail Security
and EHS Filtering


Mime
View raw message