[svlug] HTTPD Config Settings

Jesse Monroy jesse650 at gmail.com
Wed Nov 12 14:36:16 PST 2014


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

Jesse

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

> On 11/12/2014 11:17 AM, Jesse Monroy wrote:
> > Scott,
> > attached are some very very basic scripts you can
> > use to test your scripting permissions.
> > They all do one thing - output "Hello World".
> > From the list below you can see, you can
> > test from awk to tcl.
> >
> > FYI, you do this on a public server you might
> > want to consider '/usr/bin/env' instead of the direct link.
> >
> > Jesse
> > ----
> > test  test.awk  test.cat  test.dash  test.pl  test.py  test.rb
> > test.sh  test.tcl
> >
>
> Do I have to specify /usr/bin/env in the ScriptAlias then link to it?
>
> --
> Scott DuBois BSIT
> President EBLUG
> Freenode: Roguehorse
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20141112/f0215f87/attachment.htm


More information about the svlug mailing list