GIF display on Web (OpenInsight Specific)
At 22 APR 1999 11:37:30PM Leigh Tingle wrote:
Web publishing works now but I cannot get to work.
Am using a web server locally - c:\xitami.
OICGI.EXE lives in c:\xitami\cgi-bin.
TEXTURE.GIF also exists in c:\xitami\cgi-bin.
When I call the HTM page (irepord.htm)the page displays and then the debugger is invoked with the following message:
Fatal Runtime Error - Sys1000: Error loading program INET_TEXTURE.GIF
I suspect that a path needs to be prefixed to the BACKGROUND line as I have placed TEXTURE.GIF in various places without success. What are the rules if any? Xitami says that hostname is http://comdata, and I use the following URL to call page:
http://127.0.0.1/cgi-bin/oicgi.exe/INET_REPOS?DOC_ID=IREPORD.
If I do this the page loads successfully but without the background texture.
At 23 APR 1999 06:15AM Oystein Reigem wrote:
Leigh,
Web publishing works now but I cannot get to work. Am using a web server locally - c:\xitami. OICGI.EXE lives in c:\xitami\cgi-bin. TEXTURE.GIF also exists in c:\xitami\cgi-bin.
I think it's customary (necessary??) to have programs only (CGIs, like OICGI) in the cgi-bin folder. I'm sure you have your html pages in a different folder. Put your GIF where you have your html pages. Then just should work. If you prefer to have your GIFs in a separate folder, e.g in a sub-folder IMAGES of your documents folder you can do . Etc.
When I call the HTM page (irepord.htm)the page displays and then the debugger is invoked with the following message: Fatal Runtime Error - Sys1000: Error loading program INET_TEXTURE.GIF
I think what might be happening is when something follows "…/CGI-BIN/" the web server assumes this something is the name of a CGI program, or in our case with OI and OICGI that it's the name of an OpenInsight internet procedure. OpenInsight internet procedures must have names starting with "INET_", and supposedly OICGI prefixes that string to anything not starting with "INET_". And then it tells OpenEngine to run that procedure - in your case the procedure INET_TEXTURE.GIF. Which doesn't exist. And OpenEngine balks and brings up the debugger.
- Oystein -
At 23 APR 1999 08:40PM Leigh Tingle wrote:
Dear Oystein
I appreciate your help. Nothing seems to work, I have tried just about every concievable combination of path statments for BODY BACKGROUND=TEXTURE.GIF".
The web server software, Xitami, is setup on C:\XITAMI:
It has some subdirectories \webpages\images.
The Main HTML directory is: webpages
The Main CGI directory is: cgi-bin
I have placed TEXTURE.GIF and ACRLOGO.GIF in c:\xitami\webpages\images but this fails too. Also exist in c:\revsoft\oinsight\html.
Some paths I have tried:
"/webpages/images/texture.gif"
"./webpages/images/texture.gif"
"../webpages/images/texture.gif"
"/revsoft/oinsight/html/texture.gif"
Whenever I use "./, INET_…..crashes into the debugger; same with just "texture.gif"
I have tried all this with Opera and IE4 browsers with the same results, so I don't think it is a browser problem.
It must have something to do with path structure, but it has elluded me so far.
Leigh…[email protected]
At 26 APR 1999 06:14PM Cameron Revelation wrote:
Can you make a static HTML page that has an image displayed in it? What is the path you specify for the image?
You should then be able to do the same for OICGI-generated HTML. At the worst, you will just have to fully qualify the path, for example:
http://www.mysite.com/img/super.gif
Cameron Purdy
Revelation Software
At 26 APR 1999 09:25PM Leigh Tingle wrote:
A fully qualified path of:
http://127.0.0.1/cgi-bin/texture.gif
does not work. Neither does one which paths to REVSOFT/OINSIGHT/HTML/TEXTURE.GIF.
bACK TO YOU!!!
At 27 APR 1999 03:44AM [email protected] onmouseover=window.status=why not click here to send me email?;return(true)", [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Group[/url] wrote:
Well
works for us…
World Leaders in all things RevSoft
At 27 APR 1999 05:52AM Oystein Reigem wrote:
Leigh,
In think I know what you do wrong, but let's do this thoroughly in case it's something else.
The web server software, Xitami, is setup on C:\XITAMI: It has some subdirectories \webpages\images. The Main HTML directory is: webpages The Main CGI directory is: cgi-bin
Let's compare systems:
I have my server on D:\httpd\. That would correspond to your C:\XITAMI\.
I have my CGIs (OICGI) in the subfolder D:\httpd\cgi-bin\, corresponding to your C:\XITAMI\cgi-bin.
I have my web pages in the subfolder D:\httpd\htdocs\. That's the default html folder for my server.
Every html page and image I have are in D:\httpd\htdocs\ or its subfolders. As far as I know the server cannot access pages and images lying outside that folder, for security reasons. So you must have your images in C:\XITAMI\webpages\, or a subfolder thereof.
That's why
"/revsoft/oinsight/html/texture.gif"
fails, and that's why your earlier attempts with the gif in the C:\XITAMI\cgi-bin folder failed.
Your other attempts
"/webpages/images/texture.gif"
"./webpages/images/texture.gif"
"../webpages/images/texture.gif"
fail because the web server sort of regards C:\XITAMI\webpages\ as the root of where it keeps its documents and images. So try with the simple relative path
"images/texture.gif"
That should work if you have your html page in C:\XITAMI\webpages\ and your gif in C:\XITAMI\webpages\images\.
"/images/texture.gif"
should work too.
If you're still unsuccessful, perhaps C:\XITAMI\webpages\ isn't your server root. Bring up your web server program and check what the root is.
- Oystein -