setting apache environment variable
Posted
by
Kiran
on Server Fault
See other posts from Server Fault
or by Kiran
Published on 2010-08-18T13:09:19Z
Indexed on
2012/09/29
9:39 UTC
Read the original article
Hit count: 341
My hosting environment using Server version: Apache/2.2.14 (Unix) and I am modifying ./usr/local/apache/conf/httpd.conf to set environment variable and restarting the server .
SetEnv XML-RPC-IPs 193.45.32.21
I did set it as a first entry in the file and restarted the server . But even restarting if I try to print it is still getting me black , Am I missing any thing ?
echo "My IP address ".$_SERVER['XML-RPC-IPs'];
Thanks for your help Regards Kiran
© Server Fault or respective owner