Thomas,
I would look at the servlet container, i.e. tomcat, configuration.  It 
is the container that passes the server name to rundata.getServerName().

Paul Spencer


Thomas Marsh wrote:

> Thanks David.
> 
> Tried it, and it didn't work. All the links on the portal home page
> still point to the internal host. 
> 
> Could the the issue be with URILookup.getWebAppBaseDirURI which
> contains:
> 
>  return rundata.getServerScheme()+"://"+
>                rundata.getServerName()+
>                port + ctxtPath;
> 
> Won't getServerName() always return the name of the server it's running
> on?
> 
> Maybe I'm barking up the wrong tree. I'm surely new here...... I could
> be completely in the wrong forest...
> 
> Tom
> 
> David Sean Taylor wrote:
> 
>>I use this setting with Tomcat 4.1
>>
>>set CATALINA_OPTS=-Dhttp.proxyHost=(yourProxyHost) -Dhttp.proxyPort=80
>>
>>
>>>-----Original Message-----
>>>From: Tom Marsh [mailto:[EMAIL PROTECTED]]
>>>Sent: 23 September 2002 14:17
>>>To: [EMAIL PROTECTED]
>>>Subject: Re: Using Jetspeed behind a proxy
>>>
>>>
>>>Does anyone know how this works? (proxying the jetspeed site behind a
>>>firewall) I saw some posts about this on the jetspeed newsgroups.
>>>
>>>I've tried setting
>>>services.URLManager.proxy.http.host=the.host.outside.the.firew
>>>all, but all the links on the jetspeed home page still have
>>>the name of the host behind the firewall in them, effectively
>>>making them unreachable outside the firewall.
>>>
>>>I'm using proxypass on the apache server outside the firewall.
>>>
>>>Anybody, anybody?
>>>
>>>Tia.
>>>
>>>
>>>--
>>>Tom Marsh
>>>
>>>--
>>>NeoMail - Webmail that doesn't suck... as much.
>>>
>>http://neomail.sourceforge.net
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>
>>BBCi at http://www.bbc.co.uk/
>>
>>This e-mail (and any attachments) is confidential and may contain
>>personal views which are not the views of the BBC unless specifically
>>stated.
>>If you have received it in error, please delete it from your system, do
>>not use, copy or disclose the information in any way nor act in
>>reliance on it and notify the sender immediately. Please note that the
>>BBC monitors e-mails sent or received. Further communication will
>>signify your consent to this.
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to