Hello Monks,
I'm trying to speed up a Kwiki install with Kwiki::ModPerl. My Apache is set to run as user 'nobody' and group 'nobody'.
Here is the relevant part of httpd.conf:

<Directory "/usr/local/httpd/htdocs"> Order allow,deny Allow from all Options Indexes ExecCGI SetHandler perl-script DirectoryIndex index.cgi PerlSetVar KwikiBaseDir /usr/local/httpd/htdocs PerlHandler +Kwiki::ModPerl </Directory>

Unfortunately I get this error when accessing index.cgi:

Insecure dependency in eval while running setgid at /usr/local/lib/per +l5/site_perl/5.8.2/Spoon/Registry.pm line 22. Spoon::Base::__ANON__('Insecure dependency in eval while running s +etgid at /usr/loca...') called at /usr/local/lib/perl5/site_perl/5.8. +2/Spoon/Registry.pm line 22 Spoon::Registry::load('Kwiki::Registry=HASH(0x5d1e74)') called at +(eval 57) line 3 Spiffy::__ANON__('Kwiki::Registry=HASH(0x5d1e74)') called at /usr/ +local/lib/perl5/site_perl/5.8.2/Spoon/Hub.pm line 43 Spoon::Hub::preload('Kwiki::Hub=HASH(0x60d614)') called at /usr/lo +cal/lib/perl5/site_perl/5.8.2/Spoon/Hub.pm line 32 Spoon::Hub::process('Kwiki::Hub=HASH(0x60d614)') called at /usr/lo +cal/lib/perl5/site_perl/5.8.2/Kwiki/ModPerl.pm line 70 eval {...} called at /usr/local/lib/perl5/site_perl/5.8.2/Kwiki/Mo +dPerl.pm line 70 Kwiki::ModPerl::run called at /usr/local/lib/perl5/site_perl/5.8.2 +/Kwiki/ModPerl.pm line 31 Kwiki::ModPerl::handler_mp2('Kwiki::ModPerl','Apache::RequestRec=S +CALAR(0x517f14)') called at -e line 0 eval {...} called at -e line 0

Any ideas how to solve this? This is an internal, authenticated site. Should I just turn off taint checking? I didn't see where it was turned on in the Kwiki code...

20050809 Janitored by Corion: Changed PRE tags to CODE tags, fixed formatting


In reply to Taint problem with Kwiki::Modperl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.