SHEIKH Sajjad wrote:

> I am using Virtual Include as following but it does not seem to work.
> I am wondering if someone can confirmed the use of the following command
> please
> 
> <!--#include
> virtual="http://myserver/scripts/pro/clickmgr/clickmanager.pl?num=http:/
> /www.cnn.com" -->

Maybe more like:

<!--#include virtual="/scripts/pro/clickmgr/clickmanager.pl?num=http:/www.cnn.com"-->

Read you server docs:

      <dt><strong>include</strong></dt>

      <dd>
        This command inserts the text of another document or file
        into the parsed file. Any included file is subject to the
        usual access control. If the directory containing the
        parsed file has the <a href="core.html#options">Option</a>
        IncludesNOEXEC set, and the including the document would
        cause a program to be executed, then it will not be
        included; this prevents the execution of CGI scripts.
        Otherwise CGI scripts are invoked as normal using the
        complete URL given in the command, including any query
        string.
        <!--%plaintext &lt;?INDEX CGI scripts, {\tt include} element and&gt; -->


        <p>An attribute defines the location of the document; the
        inclusion is done for each attribute given to the include
        command. The valid attributes are:</p>

        <dl>
          <dt>file</dt>

          <dd>The value is a path relative to the directory
          containing the current document being parsed. It cannot
          contain <code>../</code>, nor can it be an absolute path.
          The <code>virtual</code> attribute should always be used
          in preference to this one.</dd>

          <dt>virtual</dt>

          <dd>The value is a (%-encoded) URL relative to the
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          current document being parsed. The URL cannot contain a
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          scheme or hostname, only a path and an optional query
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          string. If it does not begin with a slash (/) then it is
          ^^^^^^
          taken to be relative to the current document.</dd>
        </dl>
        A URL is constructed from the attribute, and the output the
        server would return if the URL were accessed by the client
        is included in the parsed output. Thus included files can
        be nested.
      </dd>




-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to