Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: 2 perl cgi little problems!

by MCS (Monk)
on Feb 08, 2004 at 15:58 UTC ( [id://327466]=note: print w/replies, xml ) Need Help??


in reply to 2 perl cgi little problems!

I have a few things for you to try, first, instead of using a relative path (../) use an absolute path "/data/images/night.jpg" Assuming /var/www/ is your web root directory, this should work. The other thing to check is the file permissions (make sure it's +r). If you uploaded it via ftp, there is a chance that it's not readable.

Again, is your data in "/var/www/cgi-bin/data/texts/" ? Or is this data the same /var/www/data directory? If so, you need to change your paths.

If something is working on the machine you develop on (windows or linux) and it doesn't work when you upload it, the first things to check are your paths and your permissions.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-28 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found