You are here: Re: Selecting which IP address to use when connecting to a remote « PHP Programming Language « IT news, forums, messages
Re: Selecting which IP address to use when connecting to a remote

Posted by bobzimuta on 08/04/06 15:36

scott.horne@gmail.com wrote:
> I have a machine with multiple IP addresses and I want to select the IP
> address used by my script when it connects to another location. Does
> any one know a way to select which IP address to use when creating a
> connection ?

AFAIK, you need to configure your webserver so that it will receive
requests from particular ports/domains and direct to the appropriate ip
address. The outgoing responses would then be using that ip address.
This is in the realm of virtual hosts.

Maybe there's an apache module you can use via apache_note() or
virtual() to set the outgoing ip address?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация