[nylug-talk] Re: Virtual Hosting Problems
Kevin Mark
kmark at pipeline.com
Wed Apr 16 16:46:08 CDT 2003
--=-ytg+4m7zMdgbFQNkBlHb
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I would suggest you do some telnet testing. I noticed both URL's gave
ODBC errors and they reported different error.
% telnet my.domain.com 80<RET>
<wait for output>
GET / HTTP/1.0<RET>
<RET>
-Kevin
On Wed, 2003-04-16 at 11:14, jose sanchez wrote:
> --- Jonathan Hutchins <hutchins at tarcanfel.org> wrote:
> > As adam said, I would replace the explicit IP
> > numbers with asterisks for now. =20
> > That feature is most useful when you select virtual
> > host by IP.
> >=20
> > I'm not familiar with the "NameVirtualHost" feature,
> > but if I'm not mistaken it=20
> > looks like it's bumping your virtual hosts to
> > alternate ports - ports 1000-
> > 1026, which might explain why you can't reach them.=20
> > On my multi-host system I=20
> > did this without that parameter and it works just
> > fine. Mine is firewalled but=20
> > not NAT'ed, which shouldn't make a difference.
>=20
>=20
> Ok, I've changed it back to the *'s:
>=20
> NameVirtualHost *
>=20
> <VirtualHost *>
> DocumentRoot /home/http/default
> .....
> </VirtualHost>
>=20
> <VirtualHost *>
> ServerName www.kcmultiservice.com
> .....
> </VirtualHost>
> ....
> <VirtualHost *>
> ServerName www.kcmultiservices.com
> .....
> </VirtualHost>
>=20
> <VirtualHost *>
> ServerName www.albertopujols.com
> .....
> </VirtualHost>
>=20
> Still not working. I get the default or the first
> VirtualHost all the time.
>=20
> This looks good:
>=20
> www:/usr/apache/conf# ../bin/httpd -S
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:80 is a NameVirtualHost
> default server whmicro-testinG
> (/usr/apache/conf/httpd.conf:995)
> port 80 namevhost
> whmicro-testinG (/usr/apache/conf/httpd.conf:995)
> port 80 namevhost
> www.kcmultiservice.com
> (/usr/apache/conf/httpd.conf:1000)
> port 80 namevhost
> kcmultiservice.com (/usr/apache/conf/httpd.conf:1008)
> port 80 namevhost
> www.bluekc.com (/usr/apache/conf/httpd.conf:1018)
> port 80 namevhost
> www.albertopujols.com
> (/usr/apache/conf/httpd.conf:1026)
>=20
> I don't know what else to try. I'm hopeless and frustrated.
>=20
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
> _______________________________________________
> The nylug-talk mailing list is at nylug-talk at nylug.org
> To subscribe or unsubscribe: http://herzl.nylug.org/mailman/listinfo/nylu=
g-talk
--=20
Kevin Mark <kmark at pipeline.com>
--=-ytg+4m7zMdgbFQNkBlHb
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+nYicCcivJkMxtf8RAiayAJ4wpvnITlqK1eSB+Y6eRkETqmjX1ACfbO3d
JnclCQxI15JLSBIWxtPPyDQ=
=vp0a
-----END PGP SIGNATURE-----
--=-ytg+4m7zMdgbFQNkBlHb--
More information about the Kclug
mailing list