> -----Original Message----- > From: Carlo Pascoli [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 11:42 AM > To: Jetspeed Users List > Subject: Running Jetspped behind a Firewall and Absolute URLs [...] > Any of you managed to run Jetspped behind a firewall/proxy?
I do, but that took some work, and I'm still not 100% happy with my solution. I discovered that there are both absolute and relative links. Because of the relative links, you need a base URL (anyway, I found no way of getting rid of the base URL), because as Raphael pointed out, Turbine uses the path to pass parameters. Since, when behind a reverse proxy (we use Apache), I had no way of guessing the correct (outside) server name (the one on which Apache is running), I created my own helper class which gets the correct server name, port and protocol in its configuration, and changed all Velocity templates to use my helper class instead of $clink to create the base URL. Also, I patched the Turbine DynamicUri class to not include server name etc. in URLs. This works fine, but I still don't like that I have to configure the server name and all, but I found no other solution so far. HTH -- Holger Dewes ____________ Virus checked by G DATA AntiVirusKit Version: AVK 14.0.2022 from 24.08.2004 Virus news: www.antiviruslab.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
