in reply to Backticks and exec within a CGI

Do you see anything in your servers error logs?

It might be the case, for example, that the s.cgi script you are calling won't like getting called in this manner - expecting to be able to use PATH_INFO or some other variable which you've not massaged correctly.

Steve
---
steve.org.uk

Replies are listed 'Best First'.
Re: Re: Backticks and exec within a CGI
by ViceRaid (Chaplain) on Feb 20, 2004 at 19:22 UTC

    Ah, yes, that's it. It works when I massage SCRIPT_URL so it reflects the original CGI, it works. It turns out that the application uses this to find a template file, but doesn't complain or fall back to a default if this file's missing, it just prints nothing and returns a success.

    cheers
    ViceRaid