Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Re: Re: Re: CGI Image on localhost

by eoin (Monk)
on Dec 21, 2003 at 23:07 UTC ( #316258=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: CGI Image on localhost
in thread CGI Image on localhost

NO I was not trying to get you to solve my problem.

I wrote the HTML myself and was only asking how do I link to it from a different folder

I.E. CGI SCRIPT "Apache2\cgi-bin\script.cgi"
     HTML       "Apache2\data\home.html"
     IMAGES     "Apache2\htdocs\images\image.jpg"
I wanted to know what should I put in the HTML to let me link to the IMAGES from the CGI SCRIPT. I knew that I could simply put in F:\foo\bar\Apache2\htdocs\images\image.jpg but I didn't WANT to do this as, on a remote server I wouldn't have access to the root directory e.g. F:\. I wanted to know how do you go link in the HTML down one directory and up two.


should I just generate the HTML using perl and CGI and maybe HTML::Template. or something like that.

I was just asking for help

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://316258]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-09-25 14:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found