1

I have a php script script which should be accessible from multiple ip's (http://xxx.xxx.xxx.xxx/~myfolder/myscript.php), pls. tell how to achieve this on a CentOS 5.5 (64bit) install running apache.

I will be calling the script from another PHP script on same server.

iTech
  • 355
  • 4
  • 15

2 Answers2

1

Yes, this is achieved with Apache's configs. Most installs default to listening on all bound IPs any way.

jscott
  • 24,484
  • 8
  • 79
  • 100
Jonathan Ross
  • 2,183
  • 11
  • 14
0

You have to configure your server that he listen on 2 ip-addresses.

When you define your vhost you can make *:80 then your server listen to all ips.

René Höhle
  • 1,438
  • 3
  • 17
  • 26