title: Apache redirecting to wrong port (how to replace str in varnish)
body: <p>I have a server configured with varnish on port 80 -> apache2 on port 81</p>
  
  <p>if i go to a folder without a trailing slash ( <code>http://xxx/test</code> ) it tries to redirect to ( <code>http://xxx:81/test/</code> )</p>
  
  <p>is it possible to stop apache from doing that ? it breaks every single thing from phpmyadmin to svn....</p>
  
  <p>maybe a rule in varnish to drop the :81 from the redirect ? but im not good in configuring advanced varnish..</p>