Search squid archive

Re: HTTP Header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/7 Mehmet ÇELiK <root@xxxxxxxxxxxx>:> Hello,>> I think you understand me wrong or you did not read all of my mail.> The problem is that:> I want to change the place of the value at X_FORWARDED_FOR.with REMOTE ADDR.> I mean,> when web server looked at to HEADER, It can see the Client IP Address, It> does not see REVERSE. And I want to make this activite as REMOTE_ADDR.>> I want to see the informations as the below:>> PHP Code:> <?php> echo "X_Forward   = ".$_SERVER['HTTP_X_FORWARDED_FOR'];> echo "<br>Remote_Addr = ".$_SERVER['REMOTE_ADDR'];> ?>>> Web Servers says that:> X-Forwarded-For = Client IP Address> Remote Address = Reverse Proxy IP Address>
Ok I  got your meanings.If PHP can get remote address by $_SERVER['REMOTE_ADDR'], then itshould always get it by this way, nothing to do with Squid. AlsoX-Forwarded-For just behaves well under your case.
Ralf.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux