httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Blundell \(aj\)" <alexblund...@btinternet.com>
Subject Re: 500 internal server error
Date Tue, 12 Feb 2002 09:48:29 GMT
OK so if i were to get perl off the web and install it .. could I install it
to /usr/local/bin/perl so that I could update it and keep people from
changiong the path to perl all the time?

----- Original Message -----
From: "Owen Boyle" <obo@bourse.ch>
To: <users@httpd.apache.org>
Sent: Tuesday, February 12, 2002 9:33 AM
Subject: Re: 500 internal server error


> "Alex Blundell (aj)" wrote:
> >
> > Thanks fisrt the image.cgi was set to #!/usr/local/bin/perl when infact
it
> > should have been #!/usr/bin/perl and the image.pl was only chmod 644. ..
I
> > cant beleive I didnt check that :)
> >
> > Is there any reason why most scripts are #!/usr/local/bin/perl and my
> > configuration is #!/usr/bin/perl ?
>
> Traditionally, /usr/local/bin is for dodgy, third-party software that
> you download off the web. /usr/bin is for tried and tested programs and
> utilities that come with your OS distribution.
>
> Originally, perl was dodgy third-party etc... so usually was installed
> in /usr/local/bin (that's still its default install path). Nowadays,
> perl is tried and tested and most Unix distributors bundle a version
> with their OS and so put it in /usr/bin.
>
> I'd say your /usr/bin/perl came with your OS - nothing wrong with it,
> it's probably just a bit light on modules and will be a bit out-of-date
> by now.
>
> Personally, I keep two versions - the "official OS" /usr/bin/perl which
> is used by many other system tools, I leave unaltered and never add
> modules etc. to it. This is usually a bit ancient (since it came with
> Solaris - it's version 5.005_03). I then have an up-to-date, off-the-web
> version (currently 5.6.0) which I keep in /home/perl/bin/perl. To this,
> I add any modules I need or fancy and generally use this one for CGIs,
> cronjobs and general programs.
>
> Rgds,
>
> Owen Boyle.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message