#1263: Override of REMOTE_ADDR in AgaviWebRequest does not work
---------------------------------+------------------------------------------
Reporter: m.h...@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone:
Component: request | Version: 1.0.1RC2
Severity: major | Keywords:
Has_patch: 0 |
---------------------------------+------------------------------------------
Hey, agavi runs behind a loadbalancer and the IP of the user will
write into the server variable HTTP_X_FORWARDED_FOR
Agavi will clean those variables so i try to override that
in factories.xml
<request class="AgaviWebRequest">
<ae:parameter name="sources">
<ae:parameter
name="REMOTE_ADDR">HTTP_X_FORWARDED_FOR</ae:parameter>
</ae:parameter>
</request>
i also try the other way arround..
--
Ticket URL: <http://trac.agavi.org/ticket/1263>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets