Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: exec cgi problem

by little (Curate)
on Jul 15, 2002 at 21:15 UTC ( [id://181922]=note: print w/replies, xml ) Need Help??


in reply to Execute CGI script from SSI (was: exec cgi problem)

Please ask your webservers admin if
<!--#exec cgi="/absolute/filesystem/path/to/script" -->
and
<!--#exec cmd="/absolute/filesystem/path/to/cmd" -->
are allowed in SSI. Some providers disable their interpolation or execution due to security concerns.

If so, there is as it's been already said only the chance of using
<!--#include virtual="/path/relative/to/your/web_server_root/script" -->
which is using the GET method so you cannot use POST but can (using SSI 2.0) add the query_string to it alike this

<!--#include virtual="/path/relative/to/your/web_server_root/script$QU +ERY_STRING" -->

Have a nice day
All decision is left to your taste

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://181922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found