Radiation


PRODUCTS
IDEAS
ABOUT

Who Killed Bill Gates?







PRODUCTS

















Adbar Management System - AMS
Users Guide - Building exec cmd Tags

AMS:



Features
System Requirements
Installation
Users Guide
FAQ



The alternative method for invoking the AMS via an SSI tag also happens to be the more powerful and flexible approach. This method involves construction of an #exec cmd tag. This form of SSI tag is invoked similarly, but instead of using the relative url for the cgi-bin directory, it uses the absolute pathname for that directory. To illustrate, let's assume the cgi-bin directory has the absolute pathname /usr/local/etc/httpd/cgi-bin, in which case the SSI tag used would be:

<!--#exec cmd="/usr/local/etc/httpd/
cgi-bin/ams_shell.pl"-->

One thing to note is that instead of the ams_ssi.cgi script we are using the shell version of the same program (ams_shell.pl). This version has been modified for use with the #exec cmd tag specifically.

The real power of using the #exec cmd version is that you can pass the RULE you want to use directly to the AMS system by way of a command line argument. Suppose you have a relation set up which uses the rule AD:USE_THIS_RELATION. You can instruct the AMS to use this relation directly by using the following SSI tag:

<!--#exec cmd="/usr/local/etc/httpd/cgi-bin/ams_shell.pl AD:USE_THIS_RELATION"-->

In general, you pass the exact rule as the command line argument in your SSI tag, but this will only work with the shell form.

USERS GUIDE:





















SHORTCUTS:

SEARCH:










Questions, comments or feedback? Please contact us!
Copyright © 1994-2004 GMD Studios. All rights reserved.