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 14:27:03 GMT
On Tue, Sep 28, 2004 at 09:29:15AM -0400, Brian Akins wrote:
> This may be wrong list to ask, but, is there a supported way to have a 
> module decide which vhost a request belongs to?  I know of some of the 
> mass virtual hosting modules, but they seem to not be fully integrated. 
>  (Not sure if that's the correct way to say that).
> 
> What I'm trying to accomplish:
> 
> I need to be able to have port based virtual hosts that matches on 
> multiple ports.  Ie, ports 8080-8083 match one VirtualHost, while ports 
> 9090-9093 match another, etc.  This does not seem to be supported by 
> current vhost "chooser."

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>

Admittedly that is a bit cumbersome for a large range of ports.
For a large range, a reverse proxy using either mod_proxy or
mod_rewrite should work.

Cheers,
Glenn

Mime
View raw message