in reply to Problems with backticks (maybe with Apache configuration)

I think you are confused about how your script should be called. The client-side script tag is inconsistent:

-script => { -language => 'Javascript', -src => 'my_script.pl' }

while the printing of headers in my_script.pl indicates that you mean it as server-side code.

A link to my_script.pl's URI should be enough.

The "Permission denied" message is likely from bad file mode settings or cgi setup.

After Compline,
Zaxo

Update: See larsen's reply. I misunderstood and my theory is all wrong. It could have been right so I'll let the post stand by itself without any help from facts ;-)

Replies are listed 'Best First'.
Re: Re: Problems with backticks (maybe with Apache configuration)
by larsen (Parson) on Jun 22, 2001 at 16:21 UTC
    I've badly explained the structure. A script, let's say a.pl, produce a dinamycally page that, among other things, needs some dinamically generated Javascript code. So a.pl has these lines:

    -script => { -language => 'Javascript', -src => 'my_script.pl' }
    in order to call my_script.pl. So the text/plain header is written by my_script.pl: it produces Javascript code, indeed. Maybe I could tell you only about my_script.pl, that is what's causing the problem, but I thought it was better to specify all the structure of script. I hope I've explained things more clearly now. Thank you