Forum Moderators: phranque

Message Too Old, No Replies

Help with Server Side Includes

         

raydance1

1:27 am on Feb 24, 2006 (gmt 0)



I want to do something and don't know if it is possible.

I want to use an SSI tag like this:
<!--#exec cgi="/cgi-bin/blog/blog.pl?/_archive/2006/2"-->

Apache does not like the? or the arguments. Is there any way around this?

jdMorgan

2:06 am on Feb 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



raydance1,

Welcome to WebmasterWorld!

exec
. The exec command executes a given shell command or CGI script. The IncludesNOEXEC Option disables this command completely. The valid attributes are:

.. cgi
... The value specifies a (%-encoded) URL relative path to the CGI script. If the path does not begin with a (/), then it is taken to be relative to the current document. [...]


(Emphasis added)

Try:


<!--#exec cgi="/cgi-bin/blog/blog.[b]pl%3f/_ar[/b]chive/2006/2"-->

Jim