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]

Apache (for win) running bash script: ls


Hi All,

When running a bash script under Apache 2.0.55 for Windows, are there any
restrictions about accessing the file system? My first test is to do an ls and
report the results:

echo -e "Content-type: text/html\n\n"
echo "<html>"
echo "<body>"
echo "<pre>"
echo "pwd: `pwd`"
echo "ls: `ls`"
echo "ls .: `ls .`"
echo "ls pwd: `ls pwd`"
echo "</pre>"
echo "</body>"
echo "</html>"

But the actual result was rather sparse:
pwd: /cygdrive/c/Program Files/Apache Group/Apache2/cgi-bin
ls: 
ls .: 
ls pwd: 

Any advice would be most welcome!

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]