[ic] Interchange with WN www-server

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Wed Oct 17 11:21:01 2001


On Wed, Oct 17, 2001 at 04:31:20PM +0200, Bas Bezemer wrote:
> Hi All,
> 
> More than a week a ago I posted a question about running Interchange on
> a server running a WN www-server. Jim and CFM answered but untill now I
> was not able to answer them. Still having problems.
> 
> cfm@maine.com wrote:
> > On Thu, Oct 04, 2001 at 12:50:35PM +0200, Bas Bezemer wrote:
> > > Hi All,
> > >
> > > I'm trying to install the latest Interchange on a linux server running a
> > > WN www-server. I can't get it to work properly and I'm not sure if it is
> > > due to permission issues set by the provider or WN-related things.
> > >
> > > The installation of Interchange (execute configure) seems to be ok. And
> > > de interchange server runs as well. But from here on the problems start.
> > > First of all I must use the perl versions of tlink (tlink.pl) and vlink
> > > (vlink.pl), because I have no permission to run de binaries. Running the
> > > scripts calling from a browser returns a WN-server error message. If I
> > > call the script from the command line, like:
> > > ./tlink.cgi name1 name2
> > > An error message is returned saying:
> > > Unknown catalog: name2

...

> At the bottom you find the output of a sample.cgi script. I'm not sure
> that it is generated on exactly the same server as my account is running
> from.

If you put it where your catalog will go, then it is fine.

> > BB>>The installation of Interchange (execute configure) seems to be ok. And
> > BB>>de interchange server runs as well. But from here on the problems start.
> > BB>>First of all I must use the perl versions of tlink (tlink.pl) and vlink
> > BB>>(vlink.pl), because I have no permission to run de binaries. Running the
> > BB>>scripts calling from a browser returns a WN-server error message. If I

That doesn't make sense.  Perl is a binary too.  :-)   Depending on your
setup, you might need suid.  That could even kill the perl tlink.

> > 
> > What's the error message?
> > 
> > Make sure that you have an index.cache in each directory that you are going
> > to serve from, or you will get errors.
> > 
> The errormessage I get is (from http://www.domain.nl/inet.cgi):
> Error code 500
> Read error 
> WN/2.2.9
> 
> With respect to the index.cache, all the files are indexed under the
> "www"-directory. But the "catalogs/"-directory is not positioned under
> the "www"-directory. I've tried to put it under www and had it indexed.
> But no results. Is there a way to test if the sockets are open for
> communication with interchange?

You don't need to create index files in your ic directories.  You
do NOT want your ic pages in www space.

The error you have is simply a mismatch of your catalog vlink and
catalog location.  Talk to one of your provider's sysadmins.  They can
fix it in about a minute.  Have them email me if they have any questions.

cfm

> Here are some standard CGI environment variables:
> 
> PATH_INFO = 
> AUTH_TYPE = 
> SERVER_SOFTWARE = WN/2.2.9

See if you can get that upgraded to current.  :-)

> SERVER_NAME = www.helpdesk.domain.nl
> SERVER_PROTOCOL = HTTP/1.0
> SERVER_PORT = 80
> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> image/png, */*
> HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8
> HTTP_ACCEPT_LANGUAGE = en
> HTTP_RANGE = 
> HTTP_REFERER = http://www.helpdesk.domain.nl/docs/examples/
> HTTP_USER_AGENT = Mozilla/4.77 [en] (X11; U; Linux 2.2.5-22 i586)
> HTTP_FROM = 
> HTTP_HOST = www.helpdesk.domain.nl
> HTTP_COOKIE = Test=test_cookie_value
> PATH_TRANSLATED = 
> SCRIPT_NAME = /docs/examples/sample.cgi
> SCRIPT_FILENAME =
> /home/www/helpdesk.domain.nl/www/docs/examples/sample.cgi
> QUERY_STRING = 
> REMOTE_HOST = a123456.upc-a.chello.nl
> REMOTE_ADDR = 12.345.678.90
> REQUEST_METHOD = GET
> 
> Non-CGI variables provided by the WN server:
> 
> URL_SCHEME = http
> DOCUMENT_ROOT = /home/www/helpdesk.domain.nl/www
> WN_DIR_PATH = /home/www/helpdesk.domain.nl/www/docs/examples
> REMOTE_PORT = 1449
> HTTP_POST_FILE = 
> HTTP_PUT_FILE =
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux