[ic] undefined catalog
Kevin Walsh
kevin at cursor.biz
Tue Mar 28 20:04:31 EST 2006
Ryan Perry <rperry at madisonip.com> wrote:
> Davor Ocelic <docelic at mail.inet.hr> wrote:
> > Ryan Perry <rperry at madisonip.com> 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
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list