in reply to Re^9: PerlPlusPlugin: Security CGI problems
in thread PerlPlusPlugin: Security CGI problems

Right, okay so it's not my netscape.
Also, yes, the perl script run by itself through a terminal DOES work.
Another possibility is the plugin isnt installed properly. If I go to Help:About plugins I am told:

PerlPlus Plugin 0.95.04

File name: perlplusplugin.so
Mime type: application/x-perlplus
Description: Perl
Suffixes: .ppl
Enabled: Yes

I noticed it said in the instructions that the dot should be included before the extension - is this what you did too ?

thanks,
basm101
  • Comment on Re: Re^9: PerlPlusPlugin: Security CGI problems

Replies are listed 'Best First'.
Re^11: PerlPlusPlugin: Security CGI problems
by tall_man (Parson) on Feb 26, 2003 at 19:59 UTC
    The About plugins looks all right to me. How about your Edit/Preferences/Navigator/HelperApplications? Do you see an "application/x-perlplus" listed in there? Here's what you should set:
    Description of Type: PerlPlus Plugin File Extension: .ppl MIME Type: application/x-perlplus Application to use: /usr/bin/perl $1
    I have also successfully used the path to my perlplusplugin.so as the "application to use."
      Well...I have an improvement - the system is recognising there is a perl script to run.
      However, it still doesnt actually run it !

      I tried changing the "Application to use" path. It didnt work when I used the path to my perlplusplugin.so.
      In fact it wouldnt even attempt to go to the url.

      Then I changed it to usr/bin/perl $1 and I got the message
      "Warning: this is an executable perl script. Execute the script ?"

      However, clicking yes didnt work - no program appeared.

      I changed the path to point to what I put on top of my tk scripts.
      It gave me the warning -but still no program actually ran.

      What does the $1 mean ?
      My file extension says ppl not .ppl,I try and change it to .ppl
      but it doesnt seem to update.

      Do you get the same "Warning box" before your perl tk scripts run ?

      thanks again for all your help,
      basm101
        That warning has never happened to me. Perhaps it's a security feature on your system. The $1 is supposed to be a substitution parameter so that the script name is given to /usr/bin/perl.

        I remember that I entered ".ppl" in the box, but that later it reported just "ppl", so that is ok.

        You might try to run something simple to start with, like printing a line to a file in /tmp, to see if you are really getting perl to execute at all.