Re: [users@httpd] VirtualHost

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

 



Dear Marcos:
 
1st, regarding an earlier comment in this thread... it matters what your platform is: In a windows environment (as far as I could tell after 2-days worth of messing around with configs... ), you cannot actually have name-based v-hosting on port 80, as well as a single SSL v-host on 443, unless you set up two separate windows services, one for SSL on port 443 and one for port 80.
 
2nd... from what you have written, is it possible that you might not have configured your domain DNS properly? If so, this might have affected whether your CSR was correct when you got your SSL certificate.
 
You want to set up your domain DNS as something like www.yourdomain.com (which you will serve on port 80).
 
You will want to set up a sub-domain DNS record for secure service (something like secure.yourdomain.com ). You will want to generate a CSR and get a certificate for secure.yourdomain.com (not www.yourdomain.com)
 
Have a great day!
 
Bill Angus, MA
http://www.psychtest.com
----- Original Message -----
From: Boyle Owen
Sent: Tuesday, June 06, 2006 6:36 AM
Subject: RE: [users@httpd] VirtualHost

>
> Let's clarify what's happening: all that I'm trying is only
> to set the
> Web Server to work with SSL. And, as far as the documentation is
> concerned, it's necessary to configure a VirtualHost to
> listen on Port
> 443, so you can establish a secure connection. But using the
> VirtualHost
> directive, Apache can't start and the following error message
> is given:
> [warn] VirtualHost www.myDomain:443 overlaps with VirtualHost
> www.myDomain:443, the first has precedence, perhaps you need a
> NameVirtualHost directive

I understand you are being coy about your real domain name, but be advised you are actually making it harder for people to understand what's going on. It's not clear if the two instances of "myDomain" above are meant to be the same thing... ie, is the message:

[warn] VirtualHost www.abc.com:443 overlaps with VirtualHost www.xyz.com:443 (abc and xyz are name-based VHs)

or

[warn] VirtualHost www.abc.com:443 overlaps with VirtualHost www.abc.com:443 (VH config is repeated)

?

In any case, as Matthew says, there is probably another file that is being included into your config (look for "Include" directive).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.


>
> But I only use the VirtualHost directive once! At least in
> the http.conf
> it's made once, is there somewhere else where the VirtualHost
> is defined
> besides the httpd.conf file?
>
>
> --
> Marcos R. Cardoso
> Seção de Processamento Técnico e Automação
> Sistema Integrado de Bibliotecas
> FURB - Blumenau
> (047) 3321-0660
>
>
> ---------------------------------------------------------------------
> 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
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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