/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-06 / RewriteLocation issues

[ << ] [ >> ]

[ anti-scraping techonlogy / Albert ... ] [ Re: [Pound Mailing List] RewriteLocation issues / ... ]

RewriteLocation issues
"Martins Galenieks [Aluminati]" <martins(at)aluminati.net>
2007-06-29 19:43:04 [ FULL ]
Hi guys,

I'm literally stuck for two days already in that I don't get proper
rewritten Location: header from the Pound itself. I suspect the problem to
be found exactly in the http.c file.

Scheme deployed is:
Browser->Pound(ListenHTTPS)->WebServer_HTTP->Pound->Browser

Basically WebServer issues Location: http://v_host/loc_path which is sent
to Pound

But Pound does not rewrite Location: http://v_host/loc_path to the needed
https://v_host/loc_path

RewriteLocation does not function properly; it doesn't matter which value
it takes from 0|1|2. It doesn't work also with the RewriteCond 0|1
altogether as well however it might sound stupid but the thing is as it
is.

I have compiled Pound-2.3.2 using the following instructions in the source
directory with really stable instructions:
CFLAGS=" -O2 -pipe " ./configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --with-ssl=/usr --with-owner=poundweb
--with-group=poundweb

There are no problems with any of the system libraries coming from the
`ldd /usr/sbin/pound` as well.

Would the problem lie in http.c, lines between 1060 and 1070?

Or could there be just another problem I could not spot on?

MailBoxer