Interesting, apparently Robert implemented this in 2.1.6. (2.0 didn't have the 
Append feature)  I never noticed.

My apologies, stock 2.6 should be working for you.

Try using LogLevel 2, it should issue a REDIRECT log message you can use to see 
exactly what the client is being redirected to.

And ensure there's no trailing / in the URL you're providing on the Redirect 
directive.

Let me know if you still have problems with stock 2.6! (or 2.7a)
Joe

> -----Original Message-----
> From: Robert Segall [mailto:[email protected]]
> Sent: Monday, April 09, 2012 10:01 AM
> To: [email protected]
> Subject: Re: [Pound Mailing List] port 80 redirect with keeping the
> full url
> 
> On Wed, 2012-04-04 at 13:42 +0200, [email protected] wrote:
> > Hi,
> >
> > we are running a pound 2.6f with a patch v2 by Joe Gooch. We have a
> webservice configured like this:
> >
> > ListenHTTP
> >                 Address XXX.XXX.XXX.86
> >                 Port 80
> >                 Service
> >                         Redirect "https://www.domain.de";
> >                 End
> > End
> > ListenHTTPS
> >                 Address xxx.xxx.xxx.86
> >                 Port 443
> >                 Cert "/etc/pki/tls/pound/domainname/domainname.pem"
> >                 SSLAllowClientRenegotiation 0
> >                 SSLHonorCipherOrder 1
> >                 Ciphers "RC4-SHA:HIGH:!ADH:!SSLv2"
> >                 Service
> >                         Backend
> >                                 Address xxx.xxx.xxx.xxx
> >                                 Port 80
> >                         End
> >
> >                         Session
> >                                 Type COOKIE
> >                                 ID "userblbbla"
> >                                 TTL 360
> >                         End
> >                 End
> > End
> > #############################
> > When we do a http://www.domain.de/page1.html on our Site, we get a
> > redirect to https://www.domain.de, which is as expected, but we are
> > missing the "page1.html" part. (yes the page.html part can change
> very
> > often)
> >
> >
> > We can archive this in a normal termination on a apache with
> something like this:
> >  RewriteCond %{SERVER_PORT} !443
> >  RewriteRule ^/(.*)$ https://www.domain.com/$1 [R=301,L]
> >
> >
> > Is it possible to let the pound act like this ?
> >
> >
> > Kind regards
> >
> >
> > fatcharly
> >
> >
> >
> 
> 1. Please make sure you run with the final 2.6 2. If the behaviour
> persists, it is a bug (the redirect should be to
> https://www.domain.de/page.html). Let me know and we'll look into it.
> --
> Robert Segall
> Apsis GmbH
> Postfach, Uetikon am See, CH-8707
> Tel: +41-32-512 30 19
> 
> 
> --
> To unsubscribe send an email with subject unsubscribe to
> [email protected].
> Please contact [email protected] for questions.

Reply via email to