cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@vip.net.pl>
Subject Redirect problem
Date Wed, 19 Mar 2003 19:38:30 GMT
I have quite unusual situation.
The requests to my site is being made to http://host:7723 which is being
redirected to http:/otherhost:80. These both addreses are Apaches while the
second one uses mod_jk to connect to tomcat on the same maching. And now 
the problem:

GET /polka-kp/ HTTP/1.1
Host: xxx.xxx.xxx.xxx

HTTP/1.1 302
Date: Wed, 19 Mar 2003 19:31:49 GMT
Server: Apache/1.3.27 (Win32) mod_jk/1.2.2-beta-1 mod_gzip/1.3.19.1a+
PHP/4.2.3
X-Cocoon-Version: 2.1-dev
Location: http://xxx.xxx.xxx.xxx/polka-kp/transfer
Content-Length: 0
Content-Type: text/plain

The Location header does not containg 7723 port so redirect fails. I have also
a bugtracker set on the same redirection mechanism:

GET /mantis/ HTTP/1.1
Host: xxx.xxx.xxx.xxx

HTTP/1.1 302 Found
Date: Wed, 19 Mar 2003 19:31:30 GMT
Server: Apache/1.3.27 (Win32) mod_jk/1.2.2-beta-1 mod_gzip/1.3.19.1a+
PHP/4.2.3
X-Powered-By: PHP/4.2.3
Status: 302
Pragma: no-cache
Expires: Fri, 01 Jan 1999 00:00:00 GMT
Cache-control: no-cache, no-cache="Set-Cookie", private
Location: http://xxx.xxx.xxx.xxx:7723/mantis/login_page.php
Transfer-Encoding: chunked
Content-Type: text/html

And here the port is included. I thought it has to do something with Apache
configuration, but maybe it is something related to cocoon?

The result is I cannot run Apache on port other than 80.

Comments anyone ? 
	ouzo
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/      ouzo@vip.net.pl          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message