title: Fix absolute urls in Flask apache application
body: <p>I wrote a web application in Flask, then I decided to use Apache to deploy it:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      WSGIScriptAlias /app /var/www/flask-app/flask-app.py
      &lt;Directory /var/www/flask-app&gt;
          Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>But now, links such as:</p>
  
  <pre><code>&lt;a href='/login'&gt;Sign in&lt;/a&gt;
  </code></pre>
  
  <p>Go to <code>/login</code> instead of <code>/app/login</code>. Is there any way to fix this, without changing all of the URLs?</p>