For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

VarName

Remap URI parameters to arbitrary names.

Synopsis

VarName  orignal_name  remapped_name

Scope

This directive is available for use globally (in the "interchange.cfg" configuration file), and locally (in the "catalog.cfg" configuration file).

The global configuration affects all websites running under the Interchange instance.  Each individual website's local configuration will not affect or influence other websites in any way. 

Description

This directive allows you to remap URI parameters onto arbitrary names.

For instance, you can use the following to rename the "mv_session_id" parameter to be just "id", in Interchange-generated URIs:

VarName  mv_session_id  id

Note

Note

The first time Interchange runs, it will dump a list of variables into a file called "etc/varnames" file, under the Interchange instance's installation directory.  The "etc/varnames" file can be edited, but it's highly recommended that you use this VarName directive instead.

Categories:  Global config directives | Local config directives
Last modified by: Kevin Walsh
Modification date: Saturday 15 September 2007 at 3:56 PM (BST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us