DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Linux Servers and Apache (http://www.daniweb.com/forums/forum33.html)
-   -   Apache on a nix cluster - config question (http://www.daniweb.com/forums/thread26187.html)

ubiquitas Jun 20th, 2005 1:07 pm
Apache on a nix cluster - config question
 
Hello

I've been searching low and high to find the answer to this question. I should point out I'm an apache/php noob so if you have an answer/solution please explain it in understandable terms.

My situation is thus...

If I run PHPCONFIG(); in a php page, what should the SERVER["SERVER_ADDR"] return, and would the answer be the same on an Apache cluster ?

a. The external IP that the website domain resolves to; or
b. The internal private network IP of the clustered machine.

I think the answer should always be A.

Also, where oh where in the Apache config files would I set this IP address

Thanks in advance :)


All times are GMT -4. The time now is 10:02 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC