[4568] in WWW Security List Archive

home help back first fref pref prev next nref lref last post

Setting up server for running cgi

daemon@ATHENA.MIT.EDU (Alan K.K. Kong)
Sat Feb 22 00:40:29 1997

To: www-security@ns2.rutgers.edu
Date: Sat, 22 Feb 1997 11:13:53 +0800
From: "Alan K.K. Kong" <kkkong@ee.cuhk.edu.hk>
Errors-To: owner-www-security@ns2.rutgers.edu

Hi,

I hope this is the right place to ask. Pls. forgive me if it is not.

I would like to set up a NSCA http server which allows user running cgi and SSI. The
config. files for sources have been edited by adding the following line:
	AddType application/x-httpd-cgi .cgi .pl .sh 
There was no problem if the suffix of my Perl script was ".cgi". However the text of the
script was returned if the suffix was ".pl". I wonder whether I have missed something in
the configurations. 

I want to limit the running of cgi scripts in "/http/cgi-bin" and "~user/cgi-bin". I
wonder whether someone could provide suggestions/advises in achieiving this.
 

Thank you very much in advance.

Regards
Alan

-------------------------------------------------------------------------------
Alan, Kwok-Kee KONG                    | Email: kkkong@ee.cuhk.edu.hk or
Department of Electronic Engineering   |          alan@ee.cuhk.edu.hk
The Chinese University of Hong Kong    | Tel:   +852 2609-8286 (voice)
Shatin, N.T.                           |        +852 2603-5558 (fax)
Hong Kong
-------------------------------------------------------------------------------

home help back first fref pref prev next nref lref last post