Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

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

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.