[svlug] HTTPD Config Settings

Scott DuBois sdubois at linux.com
Wed Nov 12 15:46:10 PST 2014

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


ln -s /var/www/cgi-bin to ~/

I can get Perl, Ruby and Python scripts to fly.

Scott DuBois BSIT
President EBLUG
Freenode: Roguehorse

More information about the svlug mailing list