× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Terry,

No doubt you have a logical path to your files/images and not the "actual"
path. Most often this is set using the DocumentRoot directive... ie...

DocumentRoot /www

Now, if I store my images in /www/images then I would refer to the image as
this:

<img src="/images/image.gif">

I would NOT use:

<img src="/www/images/image.gif">

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Terry Anderson
Sent: Wednesday, November 28, 2007 11:49 AM
To: WEB400@xxxxxxxxxxxx
Subject: [WEB400] URI in request is not valid


Greetings List,
I am getting the following error when trying to display an image
on my web page using CGIDEV2:

URI in request GET /www/citcgidev/backg.gif HTTP/1.1 is not
valid. I am guessing that the error means that the image can't be found.
However, when I run the command: wrklnk
'/www/citcgidev/backg.gif' from the command line, I go right to
the file on the IFS.

Here is the line from my HTML:

<body text="black" link="blue" vlink="purple" alink="maroon"
background="/www/citcgidev/backg.gif">

According to the HTML book I have, this should work. Can someone
tell me what I am doing wrong? Do I need to add something to the
config file that tells CGIDEV2 where images are stored?

Thanks,


Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.