Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Personal library with CPAN

by monkfan (Curate)
on May 18, 2006 at 12:06 UTC ( #550224=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Personal library with CPAN
in thread Personal library with CPAN

Zaxo,

I do not have a root (SU) access. Thus, I believe .htaccess cannot be accessible to me. Am I right?
Is there a way to include somekind of snippet in my CGI script to do the similar thing?
As you mentioned also earlier as another alternative.

Update: Along with Zaxo's suggestion above, I can only get my my script going after inserting the following snippet. For further info.

#!/usr/bin/perl -w use CGI ':standard'; # Newly inserted BEGIN { if ( $ENV{PERL5LIB} and $ENV{PERL5LIB} =~ /^(.*)$/ ) { # Blindly untaint. Taintchecking is to protect # from Web data; # the environment is under our control. eval "use lib '$_';" foreach ( reverse split( /:/, $1 ) ); } } use Mail::Sendmail;

Regards,
Edward


Comment on Re^4: Personal library with CPAN
Download Code
Re^5: Personal library with CPAN
by Zaxo (Archbishop) on May 18, 2006 at 12:19 UTC

    No, you're not right. The .htaccess files are local to your web space and are owned by you. You should take a good read in the apache manual. All this stuff is covered there

    After Compline,
    Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-07-31 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls