On 10/19/06, Gregor Schneider <[EMAIL PROTECTED]> wrote:
Hi owen,
On 10/19/06, Boyle Owen <[EMAIL PROTECTED]> wrote:
> The question is usually asked by people who haven't thought long enough
> about why they want to use SSL. They think because it's encrypted on the
> wire, that's already pretty good and having a valid cert is just a
> bureaucratic bonus.
nope, that was not the reason in my case.
we do have a production-server with several IP's and a cert for each
IP/hostname.
However, I wanted to set up a test-server in our company for development.
Unfortunately, I'm not able to assign different IPs to it.
Therefore, I wanted to create several NameBased VHosts for the same IP, all
using the same cert. I wouldn't bother about a "non-scure"-warning since
this would be for test and dev only.
Anyways, I couldn't get it running, still don't understand, why.
I always though, that, if I specify
NameVirtualHost test-aaa:80
NameVirtualHost test-aaa:443
NameVirtualHost test-bbb:80
NameVirtualHost test-bbb:443
<VirtualHost test-aaa:80>
ServerAdmin [EMAIL PROTECTED]
ServerName test-dom
....
<VirtualHost test-aaa:443>
ServerAdmin [EMAIL PROTECTED]
ServerName test-dom
....
<VirtualHost test-bbb:80>
ServerAdmin [EMAIL PROTECTED]
ServerName test-dom
....
<VirtualHost test-bbb:443>
ServerAdmin [EMAIL PROTECTED]
ServerName test-dom
You confihured 4 VirtualNameHosts but gave all of them the same name.
I believe that you actualy wanted to have a pair of servers. Try to
set ServerName to test-aaa for aaa hosts and test-bbb for bbb hosts.
Shoudl work then.
where the hostnames are specified (either via dns or /etc/host), the
specific content would get served.
On my first try I couldn't connect at all, my best shot was, that
test-bbb:443 was serving test-aaa:443.
The config with only one SSL-host runs smooth except for the following
warning:
Forcing reload of web server: Apache2apache2: Could not determine the
server's fully qualified domain name, using 10.170.202.5 for ServerName
[Thu Oct 19 18:11:47 2006] [warn] NameVirtualHost test-bbb:80 has no
VirtualHosts
apache2: Could not determine the server's fully qualified domain name, using
10.170.202.5 for ServerName
[Thu Oct 19 18:11:50 2006] [warn] NameVirtualHost test-bbb:80 has no
VirtualHosts
This warning is created after specifying
test-aaa:80
test-aaa:443
test-bbb:80
I'm tired of spending nights reading docs which are not too helpful at all
(I prefer this user-list and google, after all). I also don't have time to
hunt down this error, since my client wants me to create webapps rather than
having a smooth running test-server.
So I just gave up and live with it, since our production-server is running
smooth.
Cheers
Greg
what's puzzlin' you, is the nature of my game
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]