You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Akins <br...@turner.com> on 2006/04/27 15:54:27 UTC

RFC: make selecting virtual host a hook

As most things are now in hooks, why not make virtual host selection a 
hook as well?  I have a few really strange setups that would be alot 
easier to configure if I could override how the virtual host is selected.

Thoughts?


-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Re: RFC: make selecting virtual host a hook

Posted by Brian Akins <br...@turner.com>.
Ian Holsman wrote:
> This sounds like a good idea.
> 
> are you thinking of it being a config-time hook or a additional hook 
> in the request-processing stage?

I was thinking of very, very early in the request processing stage.  99% 
of installs would just rely on the "core_virtual_host" handler.


-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Re: RFC: make selecting virtual host a hook

Posted by Ian Holsman <li...@holsman.net>.
This sounds like a good idea.

are you thinking of it being a config-time hook or a additional hook  
in the request-processing stage?
I can see cases where you might want both.

regards
Ian

On 27/04/2006, at 11:54 PM, Brian Akins wrote:

> As most things are now in hooks, why not make virtual host  
> selection a hook as well?  I have a few really strange setups that  
> would be alot easier to configure if I could override how the  
> virtual host is selected.
>
> Thoughts?
>
>
> -- 
> Brian Akins
> Lead Systems Engineer
> CNN Internet Technologies

--
Ian Holsman   ++61-3-9818-0132
"in this place it takes all the running you can do, to keep in the  
same place." - Lewis Caroll