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


On 08.12.2009, at 12:58, Craig Fairhurst wrote:

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
[email protected]
http://lists.agavi.org/mailman/listinfo/users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to