It does not work. I even have read the documentation.
A fatal error??? -----Original Message----- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: 05 January 2004 17:27 To: SHEIKH Sajjad Cc: [EMAIL PROTECTED] Subject: Re: Virtual Include 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 <?INDEX CGI scripts, {\tt include} element and> --> <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) ______________________________________________________________ This message has been scanned for all viruses by BTnet VirusScreen. The service is delivered in partnership with MessageLabs. This service does not scan any password protected or encrypted attachments. If you are interested in finding out more about the service, please visit our website at http://www.btignite.com/internetservices/btnet/products_virusscreen.htm ============================================================== _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
