[opencms-dev] ServerPort issue
mmihaili at csc.com.au
mmihaili at csc.com.au
Wed Feb 26 01:52:00 CET 2003
Greetings,
We use a Netscape web server to proxy standard port 80 requests to our
WebLogic app server on a non-standard port.
It appears that the OpenCms code is now appending the non-standard port to
our domain name during requests within the workspace. This fails
miserably.
A little investigation of the code (v5RC2) led us to some changes in class
CmsResponseHttpServlet:
public void sendCmsRedirect(String location) throws IOException {
hostName = m_req.getScheme() + "://" + m_req.getServerName() + ":"
+ m_req.getServerPort();
prior to version 5 this was hostName = m_req.getScheme() + "://" +
m_req.getHeader("HOST");
public void sendRedirect(String location) throws IOException {
String hostName = m_req.getServerName() + ":" + m_req.getServerPort
();
prior to version 5 this was String hostName = m_req.getHeader
("HOST");
We would like some feedback on these changes.
Also, any detailed information on how the clusterurl property in
opencms.properties should be used.
Later,
Moris Mihailidis
__________________________________________________
CSC
EBS-BSS Web Services e-Business South
58 Queensbridge St, Southbank, VIC 3006, Australia
Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
Email: mmihaili at csc.com.au
----------------------------------------------------------------------------------------
This email, including any attachments, is intended only for use by the
addressee(s) and may contain confidential and/or personal information and
may also be the subject of legal privilege. Any personal information
contained in this email is not to be used or disclosed for any purpose
other than the purpose for which you have received it. If you are not the
intended recipient, you must not disclose or use the information contained
in it. In this case, please let me know by return email, delete the message
permanently from your system and destroy any copies.
----------------------------------------------------------------------------------------
More information about the opencms-dev
mailing list