[mod_python] Rewriting urls and relative urls.

Byron Ellacott bje at apnic.net
Thu May 13 10:31:38 EDT 2004


On Wed, 2004-05-12 at 11:57, roy wrote:
> Now, the  browser sees the page but no images/links are displayed because of wrong url.
> it looks something like:
>  "<img src="original url/Images/x.jpg>"
> instead of:
>  "<img src="google/Images/x.jpg>"

<BASE href="http://www.google.com/"> perhaps.

If there isn't a BASE element in the markup you're working with, add one
in the HEAD section.

http://www.w3.org/TR/html401/struct/links.html#edef-BASE

-- 
bje



More information about the Mod_python mailing list