| | |
Apache on a nix cluster - config question
![]() |
•
•
Join Date: Jun 2005
Posts: 1
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- PHP Upgrade-need to down apache? (PHP)
- IIS6 mail config question (Windows Servers and IIS)
- Nautilus Config Question (Window and Desktop Managers)
- what would I need to start my own webserver on my home network? (Networking Hardware Configuration)
- Port 80 problem (Linux Servers and Apache)
- Apache Alias Directive... mod_alias question (Linux Servers and Apache)
- Possible Airport Problem? (Apple Hardware)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: mod_rewrite newbie needs a little help
- Next Thread: Key Features of Apache 2.0
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones motorola netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





