httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Chi" <sardde...@hotmail.com>
Subject Re: Restricting types of CGI programs
Date Mon, 05 Aug 2002 00:25:28 GMT

Perhaps the explanation for the Perl scripts running and not the shell 
script is that they explicitly enabled Perl scripts to run and did not set 
up the cgi script module. That way only the perl programs would be able to 
run.

>From: "Lee" <lee@unassemble.co.uk>
>
>Sorry, my memory is playing up again.  The script I used was as follows
>
>#!/bin/sh
>echo "Content-Type: text/plain"
>echo
>echo
>ls -l
>
>This works fine on my own apache web server.
>
>----- Original Message -----
>From: "Lee" <lee@unassemble.co.uk>
>
> > Cheers for that.
> >
> > I was just curious as to if/how it was possible.
> >
> > I had a site hosted on a FreeBSD server once and I was then running Perl
> > scripts (which ran fine) but then I wanted to see if would run any 
>others,
> > such as sh or bash.  When I tried I just got "Internal Server Error",  
>as
> > far as I could tell the scripts were correct, in fact all one particular
>one
> > did was


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message