Relative URIs in served pages

2011-06-01 Thread John Delacour
I have a script in cgi-bin which gathers information from the user and replaces placeholders in a pre-written html page with the data collected via a different html interface. Since the script needs to run from various servers I don't want to use absolute URIs for the images, css file etc. a

Re: Relative URIs in served pages

2011-06-01 Thread Dermot
On 1 June 2011 16:20, John Delacour wrote: > > I have a script in cgi-bin which gathers information from the user and > replaces placeholders in a pre-written html page with the data collected via > a different html interface.  Since the script needs to run from various > servers I don't want to u

Re: Relative URIs in served pages

2011-06-03 Thread Brandon McCaig
On Wed, Jun 1, 2011 at 11:20 AM, John Delacour wrote: > I have a script in cgi-bin which gathers information from the user and > replaces placeholders in a pre-written html page with the data collected via > a different html interface.  Since the script needs to run from various > servers I don't

Re: Relative URIs in served pages

2011-06-03 Thread John Delacour
At 12:11 -0400 03/06/2011, Brandon McCaig wrote: It would probably help if you could show us a simple example of what you're trying and what is wrong with it. :)... For example, if the current Web page is http://foo/bar/baz.html I made it clear that I am serving the page dynamically from cgi

Re: Relative URIs in served pages

2011-06-04 Thread Brandon McCaig
On Fri, Jun 3, 2011 at 1:14 PM, John Delacour wrote: > I made it clear that I am serving the page dynamically from cgi-bin. Here is > an example: That part is irrelevant though because the image file is loaded by the user agent AKA Web browser. > And http://bd8.

Re: Relative URIs in served pages

2011-06-05 Thread John Delacour
At 22:33 -0400 04/06/2011, Brandon McCaig wrote: On Fri, Jun 3, 2011 at 1:14 PM, John Delacour wrote: I made it clear that I am serving the page dynamically from cgi-bin. Here is an example: That part is irrelevant though because the image file is loaded by the user agent AKA Web browser.