Faq-O-Matic Faq-O-Matic : Administrators' Guide : Suggestions :
Private version of CGI.pm | |
In 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 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: | Searches, charset, and Words.pm |
Next: | Active link colours |
|