jeevs wrote:

1) I created a directory called images under /var/www

Taking into consideration the error message below, the DOCUMENT_ROOT seems to be /var/www/html, so that's where you should put the /images directory.

You need to distinguish between path on the filesystem and URL. This would be the path on the filesystem:

    /var/www/html/images/file.png

while this would be one way to write the URL:

    /images/file.png

    " File does not exist: /var/www/html/var, referer:
http://mymachine/cgi-bin/image.cgi";

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to