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

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."

Replies are listed 'Best First'.
Re: Re^11: PerlPlusPlugin: Security CGI problems
by basm101 (Acolyte) on Feb 27, 2003 at 12:07 UTC
    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.