Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by eoin (Monk)
on Dec 21, 2003 at 23:07 UTC ( [id://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.

or

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

I was just asking for help
Eoin.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found