delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/06/03:20:08

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Robert Mark Bram <robert DOT bram AT colesmyer DOT com DOT au>
Subject: Re: running cygwin bash scripts from apache
Date: Sun, 6 Aug 2006 07:19:44 +0000 (UTC)
Lines: 23
Message-ID: <loom.20060806T090938-282@post.gmane.org>
References: <loom DOT 20060805T133427-6 AT post DOT gmane DOT org> <eb2m57$2rd$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Thank you Rene and Max for your replies.

Rene's response did the trick:

> Did you put the script in Apache's cgi-bin directory? 

Once I put it there, the script works ok. Much to my relief.

Thanks for the tip that I can configure Apache to run scripts from other places
to - that might come in handy later.

> Are you using the Apache packaged with Cygwin, or some other 
> Windows Apache? And, what version of Apache?

Max, I have Apache 2.0.55 for Windows installed - I thought I needed the Cygwin
version, but it turns out the Windows version is still ok to run Bash scripts as
long as it has the right shebang line.

Thank you both!

Rob
:)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019