On Thu, 5 Jun 2003 12:39:02 +0200 , [EMAIL PROTECTED] (Khalid Naji) wrote: >Hi, > >Is there any way to display a Tk/Perl application unter the browser? > >Thank you >KN
Yes it's called the perlplus plugin http://www.Lehigh.EDU/~sol0/ptk/ppl/ppl.html It can be tricky to setup properly, but here is a copy of a recent post on comp.lang.perl.tk #################################################################33 >From [EMAIL PROTECTED] Mon Mar 18 15:29:55 2002 Jim Turner <[EMAIL PROTECTED]> wrote: > Has anyone successfully gotten the Apache webserver set up to > serve Perl Plus Plugin (Perl/Tk) programs (application/x-perlplus)? > I have added the mime-type information (I think correctly), and > always get server-error. The log shows: > "Premature end of script headers". > If you have, please tell me what you changed in your Apache config > files and or your Perl/Tk (.ppl) script(s). > Thanks, > Jim Solved my own problems! "Security=60" errors caused by permissions on the plugin ".so" file and directories leading to it (browser could not execute the plugin)! In Apache, added: application/x-perlplus ppl to "apache-mime.types"; and: AddType application/x-perlplus .ppl to "commonhttpd.conf". In browser, modified newly-created "helper" app for "perlplus" to use plugin's default description, etc. Also, had to move ".ppl" files to my document-root -- they won't work in the CGI path?!?!?. Seems to work now in both Mozilla & Netscape! Jim -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]