title: Laravel how to route old urls
body: <p>I am using Laravel 4.</p>
  
  <p>I have an old url that needs to be routable. It doesn't really matter what it's purpose is but it exists within the paypal systems and will be called regularly but cannot be changed  (which is ridiculous I know).</p>
  
  <p>I realise that this isn't the format url's are supposed to take in Laravel, but this is the url that will be called and I need to find a way to route it:</p>
  
  <blockquote>
    <p><a href="http://domain.com/forum/index.php?app=subscriptions&amp;r_f_g=xxx-paypal" rel="nofollow">http://domain.com/forum/index.php?app=subscriptions&amp;r_f_g=xxx-paypal</a></p>
  </blockquote>
  
  <p>(xxx will be different on every request)</p>
  
  <p>I can't figure out how to route this with laravel, i'd like to route it to the method PaypalController@ipbIpn so i've tried something like this:</p>
  
  <pre><code>Route::post('forum/index.php?app=subscriptions&amp;r_f_g={id}-paypal', 'PaypalController@ipbIpn');
  </code></pre>
  
  <p>But this doesn't work, infact I can't even get this to work:</p>
  
  <pre><code>Route::post('forum/index.php', 'PaypalController@ipbIpn');
  </code></pre>
  
  <p>But this will:</p>
  
  <pre><code>Route::post('forum/index', 'PaypalController@ipbIpn');
  </code></pre>
  
  <p>So the question is how can I route the url, as it is at the top of this question, using Laravel?</p>
  
  <p>For completeness I should say that this will always be a post not a get, but that shouldn't really make any difference to the solution.</p>