I'm working on modifying a web-app.I am not part of the original development team (the ones who made the app), it was just donated to us.
For bureaucracy reasons we cannot make a virtual host on the server (the server is an Ubuntu server (v15.*) using apache2) and bind the subdomain (specially because we don't own the server on which the app runs).
For that reason we need to make the app run on a folder within the webroot folder (/var/www in this case).
The problem is this:
Completely and abosolutly all routes used in the app's code where made assuming it would be put directly in the webroot directory
<link rel='icon' href="imagenes/favicon.png" type="image/png" />
<base> tag in page would help for browser to know which directory to make relative requests to