[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] undefined catalog


Ryan Perry <suppressed> wrote:
> Davor Ocelic <suppressed> wrote:
> > Ryan Perry <suppressed> wrote:
> > > I'm getting:
> > > 
> > > /test/index.html CGI mapping error: Undefined catalog: /test
> > >
> > One general advice is, look in your interchange.cfg and see if there
> > is a catalog named "test" defined, and has /test as cgi or alias name
> >
> > ( Catalog test DIRECTORY CGI ALIAS ... )
> >
> Catalog         test    /usr/local/interchange/catalogs/test /test.cgi
> 
You've used "/test" in your URI and the error is that "/test" is not
defined.  What you need to do is define "/test" as the script name for
your "test" website.

You've defined "/test.cgi" as your script name, so all you need to do is
to change "/test.cgi" to "/test" and then restart Interchange.

Interchange uses the script name (or an alias, if specified) to map to
a website that should handle the request.  In your case, you want to
map "/test" to "test", so you'd use the following:

    Catalog  test  /usr/local/interchange/catalogs/test  /test

I'm assuming your "/usr/local/interchange/catalogs/test" path is correct,
and that the website starts without error when you (re)start Interchange.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.