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

I still think it's a problem to have the scripts within cgi-bin, even if it's one directory down. That could still be confusing Apache.

You are appending the log to a file in /tmp, which is the global one for your system, not the local one in your home directory. I would change it, because anyone might read the log there, and someone might create a file with the same name there that was not writable by you.

One more thing you should check. When you compiled PerlPlusPlugin, did you change the URL of the checking script to be the one on your system? The address is compiled into the executable.

  • Comment on Re^7: PerlPlusPlugin: Security CGI problems

Replies are listed 'Best First'.
Re: Re^7: PerlPlusPlugin: Security CGI problems
by basm101 (Acolyte) on Feb 24, 2003 at 17:21 UTC
    Right, Im getting somewhere but it still doesnt quite work !

    I have a perl scripts folder within my public_html folder. I can look at my logfile and it says:
    URL=http://myserver/~basm101/perl_scripts/ptk_test.ppl security level=4
    which seems fairly sensible. I upgraded my netscape to netscape7. Now I no longer have the Error=!60 box popping up. Instead when I go to the url pointing to the perl script I just get the browser thinking a lot about it, and telling me "Transferring data from myserver..." in the bar at the bottom of the browser. However, this still doesnt go anywhere.

    What version of netscape do you use ? I now have the most recent versions of perl, perl tk and netscape7.

    How long does your browser take to run the tk program ?
    thanks again,
    basm101
      I have used the plugin successfully with netscape versions 4.78, 6.23, and 7.01. It doesn't take very much time for the tk program to start.

      When you run the perl script by itself, does it work?

        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