Dynamic parameters

Paul pdemarco at zoominternet.net
Fri May 11 09:49:25 UTC 2007


My suggestion is to use the same dns name.  Or create an alias that is
the name you want to use for both.  Then each can resolve to a different
IP address depending on which side you're on and you keep your sanity.

On Fri, 2007-05-11 at 09:40 +0200, Jochen Wiedmann wrote:
> Hi,
> 
> I have a use case, which I'd like to discuss here.
> 
> I've got a Bugzilla installation, which is located between two
> networks. In other words, it has two IP addresses. That's not unusual,
> but unfortunately noth IP addresses are unreachable from the
> respective other network. (This cannot be changed: The machine is
> sitting between two large corporate networks and I do not have any
> influence on the routing.)
> 
> In other words, I am forced to change the "urlbase" parameter,
> depending on the clients IP address. Currently I do that by hacking
> Bugzill::Config->Param with a regexp of
> 
>     s/^([^\:]+\:\/\/)([\w\.\-]+)(.*)/$1$ENV{'SERVER_NAME'}$3/
> 
> I wonder whether I am the only one with a similar use case. Are there
> any hooks in Bugzilla, which would allow me to remove my ugly hack? Or
> would `such a hook be a valuable contribution?
> 
> Thanks,
> 
> Jochen
> 




More information about the developers mailing list