Dynamic parameters

John Wedoff jwedoff at akamai.com
Fri May 11 18:10:41 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<delurk>
*I'd* certainly love to have something like that.
</delurk>

- -John Wedoff
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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRLGhHQmr+6W89BURAnKwAKCNCc9XBV8NbUyEsqPLbvFuBEsQqQCgjbQw
WRNDps66/2e6AXiL71TMcSg=
=fpMa
-----END PGP SIGNATURE-----



More information about the developers mailing list