[olug] Running Perl in a user directory

Chad S. Lauritsen csl at perfectionlearning.com
Wed Jan 9 19:37:44 UTC 2002


Mike,

Not only do you have to turn on ExecCGI for the directory, but
you may have to add ".pl" to the

        AddHandler cgi-script

line of your httpd.conf (or whatever)

You should also know that limiting cgi-scripts to /cgi-bin
is a Good Thing(R) and a security precaution.

Be sure you understand the issues and possibilities. Opening up exec cgi
scripts to users can really be asking for trouble. They may write
security holes into scripts obliviously or maliciously. This may not be an
issue for this machine, but beware!

On Wed, 9 Jan 2002, Mike Peterson wrote:

> I have the .pl files running now.
>
> Thanks for all of your help.
> I will post an overall guide once this setup if working properly.
>
> I had to copy them to .cgi to run in netscape however.
> I still have a problem of incorporating the .pl or .cgi into a .html and
> having them run.
> I have many cgi programs running from within the normal /var/www/cgi-bin
> just fine.
> I tried the same exec technique in a user directory and it will not work.
> According the the apache web manual it also mentions using virtual, this
> fails to work also.
> Any help would be appreciated.
> TIA
>
> -----Original Message-----
> From: Brian Roberson [mailto:roberson at bstc.net]
> Sent: Tuesday, January 08, 2002 4:45 PM
> To: olug at bstc.net
> Subject: Re: [olug] Running Perl in a user directory
>
>
> turn on ExecCGI in that directory.
>
>
>
> ----- Original Message -----
> From: "Mike Peterson" <mpeterson at mail.charlesfurniture.com>
> To: <olug at bstc.net>
> Cc: "Matt Payne" <Payne at ACM.org>
> Sent: Tuesday, January 08, 2002 6:08 PM
> Subject: [olug] Running Perl in a user directory
>
>
> Has anyone come across a how to or cheat sheet for setting up a user to be
> able to run .pl scripts from within user space instead of from within
> cgi-bin or in addition to the normal cgi-bin area?
-- 
Chad Lauritsen                          | 1000 N 2nd Ave
System Administrator                    | Logan, IA 51546
Perfection Learning Corporation         | 712-644-2831 Ext 3409


-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the OLUG mailing list