2009/5/12 James R. <[email protected]>: > When you say "locally", does this mean somewhere in your /home/hippietrail/* > directory? If so, you can specify in the perl script to use the library of > where the module is located. > > For example, if you're modules were under the directory > "/home/hippietrail/modules", you add a line to the perl script "use lib > '/home/hippietrail/modules';" to use that library. > > Please correct me if I am wrong.
By "locally installed" I mean I followed the instructions on the Toolserver Wiki: https://wiki.toolserver.org/view/Installing_perl_modules_into_your_$HOME So my local modules are in /home/hippietrail/lib I added this line as you suggest: use lib '/home/hippietrail/lib'; But I still see a bad gateway when I try to access the script from a browser. Also I don't know where to find the error log from the fcgi script. > On Tue, May 12, 2009 at 5:31 PM, Andrew Dunbar <[email protected]> wrote: >> >> I've locally installed the Perl module MediaWiki::API and successfully >> made a Perl script which uses it. I've now converted the script to >> Fasct CGI and placed it in my public_html with execute permission and >> .fcgi extension but it fails because it can't find MediaWiki::API >> >> I don't know if such scripts run as me and should have my path or how >> to change the path, if they don't run as me does that mean I have to >> get MediaWiki::API installed site-wide? >> >> You can see the error output in this test script: >> http://toolserver.org/~hippietrail/trycatch.fcgi >> >> Andrew Dunbar (hippietrail) > > > > -- > James R. > > [[User:JamesR]] > English Wikipedia Administrator > > _______________________________________________ > Toolserver-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/toolserver-l > > -- http://wiktionarydev.leuksman.com http://linguaphile.sf.net _______________________________________________ Toolserver-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/toolserver-l
