[ic] errors in cgi mapping

Jonathan Clark interchange-users@icdevgroup.org
Tue Sep 3 18:14:01 2002


> I am getting this in my error logs:
>
> 0] - /cgi-bin/foundation CGI mapping error: Undefined catalog:
> /cgi-bin/foundation at /usr/local/interchange/lib/Vend/Server.pm line 182.
> >
> localhost.localdomain - - [03/September/2002:00:58:13 -0700] -
> /cgi-bin/sam
> CGI mapping error: Undefined catalog: /cgi-bin/sam at
> /usr/local/interchange/lib/Vend/Server.pm line 182.
> >
> localhost.localdomain - - [03/September/2002:05:11:22 -0700] -
> /cgi-bin/foundation CGI mapping error: Undefined catalog:
> /cgi-bin/foundation
> at /usr/local/interchange/lib/Vend/Server.pm line 182.
> >
> - - - [03/September/2002:05:39:45 -0700] - - STOP server (28773) on signal
> TERM
>
> Here are is part of my interchange.cfg file
> # Set up individual catalogs here.
>
> #Catalog store /var/lib/interchange/store /cgi-bin/store
> #Catalog foundation /usr/local/interchange/foundation
> /cgi-bin/foundation /foundation
> #Catalog foundation /usr/local/interchange/foundation
> /cgi-bin/foundation /foundation
> #Catalog foundation /usr/local/interchange/foundation
> /cgi-bin/foundation /foundation
> Catalog foundation /var/lib/interchange/catalogs/foundation
> /cgi-bin/foundation /foundation
> Catalog sam /usr/local/interchange/sam /cgi-bin/sam /sam
.....................................^

This path looks suspect, given the other paths above. It looks like the
Interchange program location, rather than the catalog.

The path there should be to your catalog root, that is the directory you
told makecat to use when you created your catalog, and will contain a file
called 'catalog.cfg', directories called 'pages', 'dbconf', etc.

Jonathan
Webmaint.