(Answer) (Category) Faq-O-Matic Faq-O-Matic : (Category) Administrators' Guide : (Category) Suggestions :
Private version of CGI.pm
In (Xref) How do I install if I'm not root? it shows how to install the faqomatic into a private path using perl Makefile.PL PREFIX=/what/ever

If the server's own CGI.pm is back-level then one can also install a private version of CGI.pm, but I didn't find a clear statement of how to use it. The faqomatic didn't seem to find it without assistance, but continued to use the system version.

After looking around, I found a recipe whereby one inserted this into the "fom" stub that goes into the cgi-bin directory:

 use lib '/path/to/CGI';
 require CGI
(this goes directly before the
 use lib '/path/to/FAQ';
which has been inserted automatically during the build process).

I'm not sure if this is the correct or optimum procedure, but it does seem to work OK.

Hmmm, I've just spotted (Xref) Any page that requires authentication redirects me to nothing (e.g. /cgi-bin/, which is forbidden). What's going on?
Maybe that contains a better answer to this question? (I haven't tried it yet).

[Append to This Answer]
Previous: (Answer) Searches, charset, and Words.pm
Next: (Answer) Active link colours
This document is: http://www.jonh.net/cgi-bin/faqomatic/fom?file=1052
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by SourceForge Logo and jonh.net.