Mailing List Archive



Back to the month index Back to the list index

A. R. M. (ali@cafe.sdc.uwo.ca)
Sat, 5 Apr 1997 11:58:35 -0500 (EST)


Date: Sat, 5 Apr 1997 11:58:35 -0500 (EST)
From: "A. R. M." <ali@cafe.sdc.uwo.ca>
Subject: Re: [mSQL] parsing lite in html?
Message-Id: <Pine.SGI.3.95.970405112408.18385A-100000@cafe.sdc.uwo.ca>

Jennifer Giordano wrote:

->Hi. I'm having a bit of trouble forcing the w3-msql binary to find my
->html pages. Let's say that i've put my w3-msql binary at
->[root]/books/cgi-bin/w3-msql. My test html page with embedded lite code
->is at [root]/books/test.html. I also have a copy at
->[root]/books/books/test.html.

The way you've described your directories maybe a bit confusing. So, let
me make my own assumptions as to where the directories are and should be:
Let's say your original html directory is: /www/htdocs/
the url is: http://your.server.com/
your cgi directory is: /www/cgi-bin/
your cgi url is(as defined inserver conf): http://your.server.com/cgi-bin/
Now, suppose your msql directory is: /usr/local/hughes
Let's firther assume that your lite-enhanced html pages are in a directory
called yourdata/ and that there's a lite-enhanced file in there called
  yourdata/data.html
There are 2 places where you can stick this directory and access it
through w3-msql. The second one is the wise place to put it.
1) in your original html path: /www/htdocs/yourdata
2) in /usr/local/hughes/www/yourdata

When you invoke: http://your.server.com/cgi-bin/w3-msql/yourdata/data.html
it looks FIRST in your original html path and THEN in
/usr/local/hughes/www to find the file that's passed through w3-msql.
So, if you're putting them in the second place, you must make sure that a
file with an identical name doesn't exist in your original html path,
otherwise that one is accessed.

Good Luck.

--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!