DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5303>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5303

BaseTag when there is a web server acting as proxy in front of servlet engine

           Summary: BaseTag when there is a web server acting as proxy in
                    front of servlet engine
           Product: Struts
           Version: 1.0 Final
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

We have a setup with a apache webserver acting as a proxy in front of a BEA WLS 
6.1 - everything running on Linux. And there is a firewall between the servers 
so that you may not directly access the WLS from the internet.

Lets call the address of the front server: www.mydomain.com and the dns of the 
internal machine: internal.mydomain.com.

I have a Struts page /mypage.jsp with a base tag running on the WLS. The base 
tag gives a value: http://internal.mydomain.com/mypage.jsp (which is 
inaccessible from the internet) instead of: http://www.mydomain.com/mypage.jsp 
which would be wanted.

A possible solution would be to add a property "server" that could be used to 
override the servername that is got from the request object in line 120 
(buf.append(request.getServerName());) if set.

Does anybody have a better solution?

Regards Brynjar Glesnes

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

Reply via email to