do you try with define('FULL_BASE_URL','http://' . $_SERVER['SERVER_NAME']); ?
or a condition if ( $_SERVER['SERVER_NAME'] == 'bla' ) { define('FULL_BASE_URL','http://www.myexternaldomain.com'); } elseif ( $_SERVER['SERVER_NAME'] == 'blalocal' ) { define('FULL_BASE_URL','http://localhostname/cake'); } On 17 feb, 00:35, opike <hastapast...@gmail.com> wrote: > Well, it's not the ideal solution but I can get the links to work through > the proxy server by adding this line to paths.php: > define('FULL_BASE_URL','http://www.myexternaldomain.com'); > > and then I also had to set the security level to low in core.php. > > But then this means that went I access the cake pages locally > withhttp://localhostname/cake/users > > I'll get redirected to the external url which is not what I would prefer. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php