Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Matching an empty hostname with virtual hosting

Ruslan Sivak

2010-06-02

Replies: Find Java Web Hosting

Author LoginPost Reply
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi All,

I have virtual hosting set up and working, but I'm having trouble
getting health checks from the load balancer to go to their own vhost.

The load balancer just sends this request:

Head / HTTP/1.0

This results in no host header being sent, and these requests are going
to the wrong vhost - one where I have ServerAlias *

How do I match against an empty vhost? Also apach seems to be reverse
dnsing these requests somehow and gets weird random hostnames from sites
that we host for these requests.

Any help would be appreciated,

Russ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMBr77GUZBYlCheYcRApp7AKDldFJZpXHG+2VU+iogLHdb3jszWgCdH43e
5FWcZdzQS7lUVTiOtQ2hSyc=
=LYGj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.