Re: Getting Apache to transfer .sh file instead of trying to execute it as CGI

2005-11-05 Thread Jean-Marc Liotier
On Fri, 2005-11-04 at 16:19 +, Jon Dowland wrote: > On Fri, Nov 04, 2005 at 04:03:26PM +0100, Jean-Marc Liotier wrote: > > Does anyone here have any idea about how I can persuade Apache to treat > > this shell script as a normal text file ? > > I believe it is a mime-type issue. That is also

Re: Getting Apache to transfer .sh file instead of trying to execute it as CGI

2005-11-04 Thread Jon Dowland
On Fri, Nov 04, 2005 at 04:03:26PM +0100, Jean-Marc Liotier wrote: > Does anyone here have any idea about how I can persuade Apache to treat > this shell script as a normal text file ? I believe it is a mime-type issue. Try putting the following in a .htaccess file in the same directory:

Getting Apache to transfer .sh file instead of trying to execute it as CGI

2005-11-04 Thread Jean-Marc Liotier
I am trying to make a shell script available for download. The problem is that when I try to get it Apache returns a 403 and logs "Options ExecCGI is off in this directory" in error.log. But I am not trying to execute this script as a CGI, I just want to download it. Permissions are 644. If I renam