i love Agavi.

On Apr 21, 2011 4:49 PM, "David Zülke" <[email protected]> wrote:

On 20.04.2011, at 20:34, [email protected] wrote:

> On Apr 19, 2011 5:17pm, David Zülke <david.zuelke...
It works just fine in Lighty, it reports the correct port, and so does
Nginx* :) It really is just a misconfigured Apache.

You can map any $_SERVER field too, for instance in case you're running
behind a load balancer (this one is for EC2 LBs):

<ae:configuration environment="production.*" context="web">
 <request class="AgaviWebRequest">
   <ae:parameter name="sources">
     <ae:parameter name="SERVER_PORT">HTTP_X_FORWARDED_PORT</ae:parameter>
     <ae:parameter name="HTTPS">HTTP_X_FORWARDED_PROTO</ae:parameter>
   </ae:parameter>
 </request>
</ae:configuration>

Cheers,

David

*: actually, in Soviet Russia, port reports you :)



_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to