Hello
I have an apache webserver running with multiple VHosts
bound on several public IPs.
I am looking for a way to tell php that every outgoing
connection (eg mysql_connect() ) should use a specific
public IP as source address. Normally the system will use
the first public IP bound to the system.
I know that there are ways to do this via php-statements.
But i cannot force the users programming these php-
statements therefore i need a mechanism which is
not implemented by the individual user but the system
(eg php.ini).
Any hints?
Greetings
Tobias
--
Tobias Sandhaas GPG Key ID: 0x1F6B4D4F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDz1mZJXO/PR9rTU8RAteeAJ9 OSC4cSgPQsVEzWj infYvREO3wsgCgr 0gL
AAhLTyTlgSQ1Btf nX4uNh4c=
=l8fP
-----END PGP SIGNATURE-----
I have an apache webserver running with multiple VHosts
bound on several public IPs.
I am looking for a way to tell php that every outgoing
connection (eg mysql_connect() ) should use a specific
public IP as source address. Normally the system will use
the first public IP bound to the system.
I know that there are ways to do this via php-statements.
But i cannot force the users programming these php-
statements therefore i need a mechanism which is
not implemented by the individual user but the system
(eg php.ini).
Any hints?
Greetings
Tobias
--
Tobias Sandhaas GPG Key ID: 0x1F6B4D4F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDz1mZJXO/PR9rTU8RAteeAJ9 OSC4cSgPQsVEzWj infYvREO3wsgCgr 0gL
AAhLTyTlgSQ1Btf nX4uNh4c=
=l8fP
-----END PGP SIGNATURE-----