in reply to Re: Authentication Script Path Problems
in thread Authentication Script Path Problems
I think you will need to learn a lot about both, webservers and Perl, and also about how to install modules and how to load them.
You haven't shown any code, so it's hard to suggest changes to your existing code.
As a first tip, do not put any Perl modules below the website document root. Make a parallel directory, say /home/username/lib, and put your modules there. Then modify your CGI scripts to look (roughly) like this:
#!/usr/bin/perl -w use strict; use CGI::Carp qw(fatalsToBrowser); use CGI; use lib '/home/username/lib'; use MyLib::Simple; my $q = CGI->new(); print $q->header; print "Hello";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Authentication Script Path Problems
by Anonymous Monk on Sep 12, 2010 at 09:16 UTC | |
by Corion (Patriarch) on Sep 12, 2010 at 10:58 UTC |