[svlug] HTTPD Config Settings

Jesse Monroy jesse650 at gmail.com
Wed Nov 12 16:26:59 PST 2014


chmod +x <scripts>  ?

Sent from my Samsung Tab2
On Nov 12, 2014 4:46 PM, "Scott DuBois" <sdubois at linux.com> wrote:

> On 11/12/2014 02:36 PM, Jesse Monroy wrote:
> > Generally script alias is for shorthanding.
> > On some system, like HP-UX, the utility is
> > not in the path, or not where you expect it, or
> > you need special permissions to use it.
> >
> > I may have use it once. So, this information
> > may be incorrect.
> >
> > However, /usr/bin/env allows a third party,
> > generally an Admin, to set the environment
> > variables, thereby limiting security concerns.
> >
> > http://en.m.wikipedia.org/wiki/Env
> >
> >
> http://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my
> >
> >
> http://unix.stackexchange.com/questions/12736/how-does-usr-bin-env-know-which-program-to-use/12751#12751
> >
>
> I'll look those up.
>
> What I've done is add:
>
> Options +ExecCGI +FollowSymLinks
> AddHandler cgi-script .cgi .py .pl .rb
>
> then
>
> ln -s /var/www/cgi-bin to ~/
>
> I can get Perl, Ruby and Python scripts to fly.
>
> --
> Scott DuBois BSIT
> President EBLUG
> Freenode: Roguehorse
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20141112/5351c76d/attachment.htm


More information about the svlug mailing list