Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: CGI-Perl:: Location for saving the GD output

by hawtin (Prior)
on Sep 10, 2006 at 08:19 UTC ( [id://572204]=note: print w/replies, xml ) Need Help??


in reply to CGI-Perl:: Location for saving the GD output

The issue is that there are two different namespaces. The one used within the server OS and the one that the browser sees.

In the past I have created a "Dynamic Images" directory (say ~/web_pages/tmp) which is mapped by Apache (say to to "//dyn_images/"). Then the file I create is ~/web_pages/tmp/2006Sep09_01.jpg and the <img> refers to "/dyn_images/2006Sep09_01.jpg"

The Alias directive in Apache is what you need.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found