This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: running cygwin bash scripts from apache


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]