cgi script to capture http headers

2006-09-28 Thread Kaushal Shriyan
Hi ALL I have a issue when i use script (test.cgi) #!/bin/bash echo Content-type: text/plain; echo set I get all the http headers populated with the values correctly but when I use the below script (test-cgi) #!/bin/sh # disable filename globbing set -f echo Content-type: text/plain echo

Re: cgi script to capture http headers

2006-09-28 Thread Beginner
Hi On 28 Sep 2006 at 17:21, Kaushal Shriyan wrote: Hi ALL I have a issue when i use script (test.cgi) #!/bin/bash echo Content-type: text/plain; echo set I get all the http headers populated with the values correctly but when I use the below script (test-cgi) #!/bin/sh #