Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 27187 invoked by uid 500); 12 Feb 2002 09:38:37 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 27176 invoked from network); 12 Feb 2002 09:38:37 -0000 Received: from protactinium.btinternet.com (194.73.73.176) by daedalus.apache.org with SMTP; 12 Feb 2002 09:38:37 -0000 Received: from host213-1-135-69.btinternet.com ([213.1.135.69] helo=y9o3h3) by protactinium.btinternet.com with smtp (Exim 3.22 #8) id 16aZOi-00036d-00 for users@httpd.apache.org; Tue, 12 Feb 2002 09:38:49 +0000 Message-ID: <009501c1b3aa$6df576a0$458701d5@y9o3h3> From: "Alex Blundell \(aj\)" To: References: <002401c18ecf$0e31be40$85c47ad5@y9o3h3> <004401c1b3a4$9a3ecd20$458701d5@y9o3h3> <3C68DBE9.7379E998@bourse.ch> <005c01c1b3a8$6b307520$458701d5@y9o3h3> <3C68E179.37EF8CBB@bourse.ch> Subject: Re: 500 internal server error Date: Tue, 12 Feb 2002 09:48:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" To: 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 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org