httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Strauss <gs-apache-...@gluelogic.com>
Subject Re: custom vhost module
Date Tue, 28 Sep 2004 21:07:40 GMT
On Tue, Sep 28, 2004 at 04:14:03PM -0400, Brian Akins wrote:
> Glenn Strauss wrote:
> >On Tue, Sep 28, 2004 at 09:29:15AM -0400, Brian Akins wrote:
> >
> >>
> >Have you tried giving a list of addresses and ports?
> >
> ><VirtualHost 1.2.3.4:8080 1.2.3.4:8081 1.2.3.4:8082 1.2.3.4:8083>
> >...
> ></VirtualHost>
> 
> I need to be able to use *:8080 *:8081, but that's not allowed...

It seems to be allowed when _not_ using 'NameVirtualHost *',
at least on Apache 1.3.

Would you explain a bit more what you're trying to do?

If you're writing a C module in Apache2, look in ap_read_request(c)
and ap_update_vhost_from_headers(r) if you want to programmatically
change the vhost, but this needs to be done very early in the
request.

Cheers,
Glenn

Mime
View raw message