Web is hosted on WinNT server. Host says that cgi.pm isn't supposed to be on the server. What now?
Mar 15, 1999, 11:34 AM
Administrator (9387 posts)
Mar 15, 1999, 11:34 AM
Post #2 of 9
Views: 8517
Hi Lauren,
Sorry about the late reply!
CGI.pm is a _standard_ perl module. It comes with almost all of Activestate's port of perl that I can remember, as well as the standard distribution of perl. If a web host doesn't support it, then they really don't know what they are doing when it comes to perl. I would recommend a new ISP, or try and convince them otherwise.
FileMan does depend on CGI.pm and making it run without it would be difficult.
Cheers,
Alex
Sorry about the late reply!
CGI.pm is a _standard_ perl module. It comes with almost all of Activestate's port of perl that I can remember, as well as the standard distribution of perl. If a web host doesn't support it, then they really don't know what they are doing when it comes to perl. I would recommend a new ISP, or try and convince them otherwise.
FileMan does depend on CGI.pm and making it run without it would be difficult.
Cheers,
Alex
Mar 16, 1999, 2:54 AM
Novice (7 posts)
Mar 16, 1999, 2:54 AM
Post #5 of 9
Views: 8508
Thanks! I have downloaded the .tar file and am also going to review the January 20 contribution of Luciano, re: CGI.pm Work-around (if your provider won't install it). I hope that works as my ISP is being a bit stuborn at the moment! As they currently host five of my client webs, I am not anxious to relocate if I don't need to!! Thanks for your help!
Mar 16, 1999, 5:26 AM
Novice (7 posts)
Mar 16, 1999, 5:26 AM
Post #6 of 9
Views: 8511
Well.....I d/l'd the .tar file and uploaded the CGI.pm to my web, as per Luciano's instructions. All went fine, but I find that my ISP is on Perl 5.00307, and the version of CGI.pm requires 5.004.
Any suggestions for a site for CGI.pm compatible with Perl 5.00307? I suspect that I will have smoother sailing getting my ISP to add the CGI.pm than to upgrade to 5.004 at the moment!!
Thanks!!
Any suggestions for a site for CGI.pm compatible with Perl 5.00307? I suspect that I will have smoother sailing getting my ISP to add the CGI.pm than to upgrade to 5.004 at the moment!!
Thanks!!
Mar 16, 1999, 5:58 AM
Administrator (9387 posts)
Mar 16, 1999, 5:58 AM
Post #7 of 9
Views: 8501
Hi,
You can find older versions at:
http://www.perl.com/...dules/by-module/CGI/
I'm sure version 2.36 works with perl 5.003_07. They don't say in the readme which version of perl, but probably in the actual .tar.gz.
Cheers,
Alex
You can find older versions at:
http://www.perl.com/...dules/by-module/CGI/
I'm sure version 2.36 works with perl 5.003_07. They don't say in the readme which version of perl, but probably in the actual .tar.gz.
Cheers,
Alex
Mar 16, 1999, 6:46 AM
Novice (7 posts)
Mar 16, 1999, 6:46 AM
Post #9 of 9
Views: 8523
Eureka! CGI.pm 2.36 works wonderfully! Following the tip from Luciano I uploaded it to my CGI-BIN and added one line of code to fileman.cgi as follows:
use lib 'server.com/dir';
This went BEFORE "use CGI qw(:cgi);"
Voila!!!
If my ISP never supports CGI.pm, so what! I will just have to remember to update the CGI.pm is they move to Perl 5.004
use lib 'server.com/dir';
This went BEFORE "use CGI qw(:cgi);"
Voila!!!
If my ISP never supports CGI.pm, so what! I will just have to remember to update the CGI.pm is they move to Perl 5.004