I am retrieving a page from another host, and then initializing the form with data from a database before sending it on to the user.
I need to make the URLs in href and src attributes absolute, so that the browsers load them from the right place.
Can I set an HTTP header to cause this to happen without modifying the HTML?
There is no such for HTTP. But you can set the base URL with HTML’s
BASEelement like: