You'd want the RedirectAppend option provided here:
https://github.com/goochjj/pound/commit/6987fab10d7ee47d0b46501520a934839c3085db

It may be easier to use the branch I staged for prospective 2.7... you can do 
that with:

git clone git://github.com/goochjj/pound.git -b stage_for_upstream/v2.7
cd pound
configure/compile as usual

The pound.8 man page in the repo will illustrate how to use Redirect vs 
RedirectAppend vs RedirectDynamic.

Joe



> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Wednesday, April 04, 2012 7:43 AM
> To: [email protected]
> Subject: [Pound Mailing List] port 80 redirect with keeping the full
> url
> 
> 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
> 
> 
> 
> --
> NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
> Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
> 
> --
> To unsubscribe send an email with subject unsubscribe to
> [email protected].
> Please contact [email protected] for questions.

Reply via email to