-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's an easy one, to do virt hosting with both ssl and not, do something like: NameVirtualHost *:80 NameVirtualHost *:443 # default non-secure page settings # secure page settings # other non-secure virtual hosts as normal... --Nick On Fri, 30 May 2003, Don Calfa wrote: > If I: > > Add NameVirtualHost * > > I get this error > > [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results > > > If I change etc... I get: > > [warn] VirtualHost website1.com:0 overlaps with VirtualHost website2.com:0, the first has precedence, perhaps you need a NameVirtualHost directive > > Keeping both, I get both errors. > > > > > rmelder@cheerylynn.com wrote: > > >Your server name needs to be different. > > > >Also, take that * out of the virtual hosts directive and replace it with the > >complete virtual host name. > > > >; ) .randy > > > > > > ..:: Randy Melder ::.. > > 602-279-0135 - www.spininternetmedia.com > > > > > > > > > > > >-----Original Message----- > >From: plug-discuss-admin@lists.plug.phoenix.az.us > >[mailto:plug-discuss-admin@lists.plug.phoenix.az.us] On Behalf Of Don Calfa > >Sent: Friday, May 30, 2003 10:52 AM > >To: plug-discuss@lists.plug.phoenix.az.us > >Subject: Apache2.0 virtual hosts > > > > > >I have 1 IP and want to setup a couple of sites on that IP. > >DNS resolves correctly to the IP address. > > > >Here's my Vhosts directives: > > > > > >DocumentRoot "/Volume2m/Websites/website1.com" > >ServerName website1.com > >ServerAlias www.website1.com > > > > > > > >DocumentRoot "/Volume2m/Websites/website2.com" > >ServerName website2.com > >ServerAlias ww.website2.com az.website2.com > > > > > >www for website2 is hosted elsewhere. > >Default document for site1 is index.php, site2 is index.html > > > >If I have only 1 directive, I get that site but I don't get the Apache > >welcome as I should for the IP address in the browser. > > > >When I have both sites, I get only site1 even if I use > >httpd://ww.website2.com/index.html > > > >What am I doing wrong? > > > > > > > > > >--------------------------------------------------- > >PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > >To subscribe, unsubscribe, or to change you mail settings: > >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > > > > > > >--------------------------------------------------- > >PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > >To subscribe, unsubscribe, or to change you mail settings: > >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE+188hv+hjYTGg7s4RAha5AJoCtIJVDOq9qpRoo+YT+p20QHT4+QCffVEs iqZXhRI5xI1kxIWL9dS+Qb0= =UpSU -----END PGP SIGNATURE-----