LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Jul 2002 12:37:29 -0400
Reply-To:     "David L. Ward" <dward@SASHELP.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Ward" <dward@SASHELP.COM>
Subject:      Re: SAS/INTRNET & Server Side Include (SSI)
Comments: To: Steve Bloom <steve@WHITEHURST-ASSOCIATES.COM>
In-Reply-To:  <EKEDKMBFHICGECIJOGIMOEMIDAAA.steve@whitehurst-associates.com>
Content-Type: text/plain; charset="iso-8859-1"

Steve,

First, off, this the exec options of SSI is not used very often and is disabled on most web servers for security reasons. Unless you have a very specific and good reason for using it, I'd recommend using a real CGI script and include the SAS/IntrNet page from there if possible - or simply include the static HTML in your SAS/IntrNet program.

The SSI specs at http://httpd.apache.org/docs/mod/mod_include.html and http://httpd.apache.org/docs/howto/ssi.html don't indicate that you can enter a query string in the value parameter, instead you can pass a query string to the actual page that is loading and it should get passed normally as an environment variable to the included CGI script. It seems you can also set environment variables with include directives, so you can try setting QUERY_STRING if things don't seem to be working.

HTH David Ward

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of Steve Bloom Sent: Wednesday, July 03, 2002 12:22 PM To: SAS-L@LISTSERV.UGA.EDU Subject: SAS/INTRNET & Server Side Include (SSI)

Does anyone know how to pass parameters in the SSI statement.

this works: <!--#exec cgi="/cgi-bin/broker" -->

this does not work: <!--#exec cgi='/cgi-bin/broker?_debug=0' --> <!--#exec cgi="/cgi-bin/broker?_debug=0_SERVICE=test&_PROGRAM=programs.ssi.sas" -->

Thanks for any suggestions.

Steve Bloom


Back to: Top of message | Previous page | Main SAS-L page