Re: [Pound Mailing List] Proxy a request to new URL

Alan McGinlay <alanm-02ecni/[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Hi,

This is not a feature supported by pound.

Assuming you are using Apache, you can use rewrites as follows:

RewriteRule ^old/(.*)/$ http://example.com/new/app/$1 [R=301,L]

/Alan

Den tis  8 jan 2013 17:37:03 skrev Derr, Alex:
> Hi,
>
> I am attempting to proxy some image files from an old URL to the new
> while redirecting the old URL to the new. See below:
>
> Old URL: example.com/old/images/image.gif
>
> New URL: example.com/*new/app/*images/image.gif
>
> This configuration:
>
> Service
>
>      URL “^/old.*”
>
>      Redirect “https://example.com/new/app”
>
> End
>
> Only redirects me to the home page of the new URL
> (https://example.com/new/app), and the end of the URI
> (/images/image.gif) is lost.
>
> How can I get pound to redirect to the new URL and keep the end of the
> URI string?
>
> Thanks!
>
> Alex
>

--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.