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

RE: [ic] InterchangeScript


> 
> I am not seemingly able to guess the correct combination of
> mod_interchange's new InterchangeScript directive, the interchange.cfg
> Catalog directive, and the variable.txt CGI_URL .  To get
> www.mydomain.com to invoke interchange at the root / directory as
> catalog "mycatalog", what would be the appropriate setting for these 3
> variables (and any other applicable variables that would need to be
> modified from previous versions)?
> 
To use the following example:

    <Location />
        SetHandler interchange-handler
        InterchangeServer /opt/interchange/etc/socket
        OrdinaryFileList /foundation/ /interchange-5/ /robots.txt
    </Location>

Set your "Catalog" directive to use /:

    Catalog  foundation  /path/to/foundation  /

Set your CGI_URL variable to /.

    Catalog  foundation  /path/to/foundation  /

Now you're all configured for www.example.com/index.html.

Everything gets set to the same value.  I was hoping that that would
avoid confusion. :-)

The other way to do it is to use this next example:

    <Location /shop>
        SetHandler interchange-handler
        InterchangeServer /opt/interchange/etc/socket
        InterchangeScript /foo
    </Location>

In this case, your URI will look like www.example.com/shop/index.html.

As the InterchangeScript is set to /foo, the Catalog directive will
have to match this value, so:

    Catalog  foundation  /path/to/foundation  /foo

As the <Location> is set to /shop, the CGI_URL variable will have to
match.

I hope this clears up any confusion.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   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.