problem with perl and 404

3dbangla

Registered
Jun 23, 2008
1
0
51
hi i am a new user of cpanel .. i have a reseller account

i want to use perl ,,, mod_layout to put ads in customer page

but i cant install mod_latout from


Perl Module Installer

it says

Location of Your Perl Module(s)

Path: /home/xxxxxx/perl

Using Your Perl Module(s)

You will need to add /home/xxxxxx/perl to the include path.
You can do this by adding the following code to your script:

BEGIN {
my $homedir = ( getpwuid($>) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path ) {
push @user_include, $homedir . '/perl' . $path;
}
}
unshift @INC, @user_include;
}



and in the Find a Perl Module there is layout mod

but when i click install it saya:

Method: Perl Expect
Testing connection speed...(using fast method)...Done
Ping:1000 Testing connection speed to 209.85.80.214 using pureperl...(155550.00 bytes/s)...Done
Ping:1000 Testing connection speed to ftp.kfki.hu using pureperl...(17982.35 bytes/s)...Done
Ping:1000 Testing connection speed to ftp.rhnet.is using pureperl...(15665.00 bytes/s)...Done
Three usable mirrors located
Fetching http://209.85.80.214/pub/CPAN/index.html (0)..[email protected]%.. ....Done
Mirror Check passed for 209.85.80.214 (/index.html)
CPAN: File::HomeDir loaded ok (v0.80)
CPAN: Storable loaded ok (v2.18)
Going to read /home/xxxxxx/.cpan/Metadata
Database was generated on Mon, 30 Jun 2008 21:02:59 GMT
Running install for module 'Apache2::Layout'
Running make for G/GO/GOZER/Apache2-Layout-0.6.tar.gz
CPAN: Digest:HA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v1.42)
Checksum for /home/xxxxxx/.cpan/sources/authors/id/G/GO/GOZER/Apache2-Layout-0.6.tar.gz ok
Apache2-Layout-0.6/
Apache2-Layout-0.6/Changes
Apache2-Layout-0.6/Changes.yml
Apache2-Layout-0.6/Layout.xs
Apache2-Layout-0.6/lib/
Apache2-Layout-0.6/lib/Apache2/
Apache2-Layout-0.6/lib/Apache2/Layout.pm
Apache2-Layout-0.6/Makefile.PL
Apache2-Layout-0.6/MANIFEST
Apache2-Layout-0.6/MANIFEST.SKIP
Apache2-Layout-0.6/META.yml
Apache2-Layout-0.6/README
Apache2-Layout-0.6/SIGNATURE
Apache2-Layout-0.6/t/
Apache2-Layout-0.6/t/00-signature.t
Apache2-Layout-0.6/t/01compile.t
Apache2-Layout-0.6/t/02simple.t
Apache2-Layout-0.6/t/03pod-cover.t
Apache2-Layout-0.6/t/03pod.t
Apache2-Layout-0.6/t/conf/
Apache2-Layout-0.6/t/conf/extra.conf.in
Apache2-Layout-0.6/t/htdocs/
Apache2-Layout-0.6/t/htdocs/cgi/
Apache2-Layout-0.6/t/htdocs/cgi/test.pl
Apache2-Layout-0.6/t/htdocs/footer.html
Apache2-Layout-0.6/t/htdocs/head.html
Apache2-Layout-0.6/t/htdocs/header.html
Apache2-Layout-0.6/t/htdocs/large.html
Apache2-Layout-0.6/t/htdocs/simple.html
CPAN: File::Temp loaded ok (v0.20)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build G/GO/GOZER/Apache2-Layout-0.6.tar.gz

Can't locate ModPerl/MM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
GOZER/Apache2-Layout-0.6.tar.gz
/usr/bin/perl Makefile.PL PREFIX=/home/bangla/perl/usr -- NO Makefile created
Running make install
Make had some problems, won't install
perlmod--Install done

plz help me


can any one tell me how to use that????

2nd thing is that if i put 404 page from skeliton directry it can be deleted from customer filemanager how to make it non deletable please please any one help:confused: