Hello
I have many IP and IP based virtualhost configured.
My hostname.em0 looks like this:
inet 123.456.789.66 255.255.255.224
inet alias 123.456.789.67 255.255.255.224
inet alias 123.456.789.68 255.255.255.224
inet alias 123.456.789.70 255.255.255.224
inet alias 123.456.789.71 255.255.255.224
...
My virtualhost part in httpd.conf:
<VirtualHost 123.456.789.70:80>
...
</VirtualHost>
<VirtualHost 123.456.789.71:80>
...
</VirtualHost>
...
Everything works fine. But when making request (for ex. fsockopen)
with php the outgoing IP is 123.456.789.66.
Does anybody know how to tell php to bind to virualhost IP when making request ?
Regards
Bambero