Gossamer Forum
Home : Products : Others : Fileman :

CGI.pm Work-around (if your provider won't install it)

Quote Reply
CGI.pm Work-around (if your provider won't install it)
I finally got fileman working even though my provider has only perl 5.003 installed and no CGI.pm.(and i got a cgiwrapper and no telnet access:-( )-- If someone is interested here is how you do it.
First get cgi.pm (if your provider runs perl 5.004 or higher... you can get it at http://www.genome.wi.mit.edu/ftp/pub/software/WWW/cgi_docs.html
- mine doesn't so i got it through ftp search and found a version that only needed perl 5.001. (http://ftpsearch.lycos.com/)

put the module in your cgi-bin (I actually placed it in a subfolder called libs)

then modify the fileman.cgi by adding this line ABOVE the line saying use CGI qw(:cgi);
## change location of CGI.pm
use lib '/your_server_dir/cgi-bin/libs';
## end of change

..... Worked fine for me...
(DONT DO THIS:
I tried at first to edit the cgi.pm file requiring perl5.004 to 5.003. --> the file uploads didn't work...)

Hope explanations were clear enough and will save somebody the time I lost


Luciano

[This message has been edited by Luciano (edited January 20, 1999).]