Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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


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;


Replies are listed 'Best First'.
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,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://550224]
[ambrus]: erix: that one actually sucks. these days people should get rid of the old notion that TeX is the only thing you can use for decent mathematics writing, because MS Office and LibreOffice have reached the
[ambrus]: level where people can more easily write as good mathematical papers in them as the people who write bad LaTeX papers usually write.
[ambrus]: Yes, for like the first twenty of its years, TeX was basically the only system that allowed you to write decent maths papers, and C++ and PHP were programming languages that sucked, etc. But times change and people have to accept that.
Discipulus bad people + good tool < normal people + decent tool

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-09-26 11:04 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.