I have a block of code that turns debugging on for my computer, and off for everyone else.

Since I converted from Tango 3.5.2 to Witango 5.0.x running on Mac OSX this code doesn't work.

<@IF EXPR="<@CGIPARAM CLIENT_IP> = 'myIPaddress'">
   <@ASSIGN NAME="debugMode"  VALUE="forceOn" scope="User">
<@ELSE>
   <@ASSIGN NAME="debugMode"  VALUE="forceOff" scope="User">
</@IF>

When I look at the Witango.log all requests are coming from localhost, even though the apache log shows the correct use IP.

How do I get Witango to get the correct IP?

Maggie

--
* * * * * * * * * * * * * * * * * * * * * Margaret Pinckard
* [EMAIL PROTECTED]
* Principal Research Associate
* End-use Forecasting Group
* E.O. Lawrence Berkeley National Laboratory



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to