[Agavi-Users] Port Number

0 views
Skip to first unread message

Craig Fairhurst

unread,
Dec 8, 2009, 6:58:59 AM12/8/09
to us...@lists.agavi.org
Hi

I'm having problems with $ro->getBaseHref() in my local environment
(using 1.0.2-RC2)
The port is set to 10088 and this isn't being picked up on.

I've resorted to modifying the Agavi installation to always return
10088 for now until it can be fixed.

Any advice appreciated.

_______________________________________________
users mailing list
us...@lists.agavi.org
http://lists.agavi.org/mailman/listinfo/users

David Zülke

unread,
Dec 8, 2009, 1:24:00 PM12/8/09
to Agavi Users Mailing List
In your Apache config, you need to adjust ServerName as well, changing
Listen alone is not enough, as you may also see when calling phpinfo()
or dumping $_SERVER - SERVER_PORT will not be 10088 until your config
is correct.

Obviously not an Agavi issue, then, and I'm not quite sure why you're
fiddling with the Agavi source - the framework has built-in mechanisms
to cover such situations (e.g. when running behind a load balancer,
where the host and/or port need to be defined manually or be pulled
from certain magic HTTP headers).

- David

Reply all
Reply to author
Forward
0 new messages