See my message 12:14 h ;=)
jeremy wrote:
>
> Here is a small followup question though. After I moved the files, say, to
> directory /var/www/html/files and I tried to reference them from the perl
> generated html with a hard reference...
>
> <img src="/var/www/html/files/titlePic.gif">
>
> it didnt work,
You misunderstood the character of this kind of reference in HTML:
References beginning with 'http:/' are absolute references. The other
references are not "hard" as you wrote but relative - relative to the
position of the file from which they are referenced.
If your script's (Unix absolute) path is
/var/www/cgi-bin/script.cgi
and the image's path is
/var/www/html/files/titlePic.gif
then your HTML-relative path is
../html/files/titlePic.gif
If the path of the script is another one the relative URI is another one too.
Cheers
Stephan
--
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]