Ok figured out some of my problem. The two files that
were included added the directives to get SSL working
but they needed to be tweaked to fit my situation. I
am now includeing mod_ssl.conf and ignoring the
vhost.conf file. I have also verified the Listen
Directives are defined for both port 80 and 443.
I now have it where I can hit my regular website using
http but I can't hit the other virtual host using
https. What bothers me is this...my https vhost is as
follows:
<VirtualHost XXX.XXX.XXX.XXX:443>
ServerName secure.mydomain.com
</VirtualHost>
When I ping secure.mydomain.com it says "Unknown Host"
but when I ping www.mydomain.com it works fine. This
is wierd because it seems part of the problem is at
the DNS level (which can't be right). I feel I am
REALLY close...what am I missing?
Wierder yet. I have another domain registered to my
IP, www.mydomain2.com
If i create virtualhosts off of it (e.g.
test.mydomain2.com) it works fine.
Any ideas?
--Tony
--- Owen Boyle <[EMAIL PROTECTED]> wrote:
> Hi Tony,
>
> Do you have a Listen directive? I kind of assumed
> you would have that
> already (probably should've mentioned it...). You
> don't really need it
> for port 80 since that is the default for HTTP and
> Apache obviously
> knows about it but you definately need it for port
> 443! (and any other
> ports you use).
>
> You must put;
>
> NameVirtualHost XXX.XXX.XXX.XXX:80
>
> Listen XXX.XXX.XXX.XXX:80
> <VirtualHost XXX.XXX.XXX.XXX:80>
> ServerName www.mydomain.com
> </VirtualHost>
>
> Listen XXX.XXX.XXX.XXX:443
> <VirtualHost XXX.XXX.XXX.XXX:443>
> ServerName secure.mydomain.com
> </VirtualHost>
>
> Hope that helps,
>
> Owen Boyle.
> --
> SWX Swiss Exchange, 10 Cours de Rive, 1211 Geneve 3
> --------------------------+-------------------------
> Phone: +41 (0)22 849 5648 | Fax: +41 (0)22 849 5643
>
______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)
> www.modssl.org
> User Support Mailing List
> [EMAIL PROTECTED]
> Automated List Manager
[EMAIL PROTECTED]
=====
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]