![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: CGI Image on localhostby exussum0 (Vicar) |
on Dec 21, 2003 at 22:42 UTC ( [id://316256]=note: print w/replies, xml ) | Need Help?? |
Typically with apache, you have your cgi's in a sperate directory than you static, non-program, content. You have that straight. What you would typically do is have your images refered as http://machinename/images/image.jpg
You can use .., but you'd probably use ../images/image.jpg. That's a relative url. Relative url's are nice usually, but it's a matter of opinion what people like more :) Remember, for browsers, its typically nicer to use /'s instead of \'s. Play that funky music white boy..
In Section
Seekers of Perl Wisdom
|
|