httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayl Support" <supp...@mayl.net>
Subject Re: [users@httpd] Virtual Hosts and SSL
Date Sat, 21 Sep 2002 18:31:18 GMT

Amir

I just got it to work again.  Try this setup.
Now mind you, I am working with a router which establishes static ips.

Doing it this way tells apache to resolve the sites by name as stated in
"ServerName" & "ServerAlias".
Define the VirtualHost of choice with your ip address:443. Then apache will
resolve the port with the ServerName.

See below and try that.
Rene




NameVirtualHost *

<VirtualHost *>
    ServerName yoursite1.com
    ServerAlias www.yoursite.com
</VirtualHost>

<VirtualHost *>
    ServerName yoursite2.com
    ServerAlias www.yoursite.com
</VirtualHost>

<VirtualHost 192.168.1.101:443>
    ServerName yoursite3.com
    ServerAlias www.yoursite.com
</VirtualHost>

<VirtualHost *>
    ServerName yoursite4.com
    ServerAlias www.yoursite.com
</VirtualHost>



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message