title: Apache 307 Redirect to redirect POST data
body: <p>PayPal are annoying...if you have thousands of customer subscriptions which <code>POST</code> IPN's (Instant Payment Notifications) to a certain URL...you can never change that URL. If you want to have the IPN's sent to another URL, their advice...tell all your customers to cancel their subscriptions and start new ones after you've changed the IPN URL. Great.</p>
  
  <p>So after digging around, a solution I found is to use a 307 redirect which will not only redirect to a new URL, but carry along the <code>POST</code> data with it. but I'm having a little trouble with that in Apache. It doesn't seem to work at all. Here is the line in my <code>.htaccess</code> file:</p>
  
  <pre><code>Redirect 307 /index.php?view=account&amp;task=paypal https://api.anotherdomain.com/paypal/ipn
  </code></pre>
  
  <p>What would be the reason this doesn't redirect?</p>