Re: [us...@httpd] Getting HTTP Headers from CGI program

2010-01-02 Thread Eric Covener
On Sat, Jan 2, 2010 at 6:42 AM, Tushar Joshi wrote: > I've had a look and SOAPAction seems to be an extension maybe of some > sort as listed here > > http://www.w3.org/TR/2000/NOTE-SOAP-2508/#_Toc478383528 > > It just doesn't seem like apache has a way of getting the value of this > header ea

Re: [us...@httpd] Getting HTTP Headers from CGI program

2010-01-02 Thread Tushar Joshi
On Thu, Dec 31, 2009 at 06:45:51PM +, Nick Kew wrote: > > On 31 Dec 2009, at 17:31, Tushar Joshi wrote: > > > > Right bottom posting this time. I've looked in the manual searched on the > > web but I presume there isn't an easy way. I've looked at mod header and > > set env and I don't real

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Nick Kew
On 31 Dec 2009, at 17:31, Tushar Joshi wrote: > > Right bottom posting this time. I've looked in the manual searched on the web > but I presume there isn't an easy way. I've looked at mod header and set env > and I don't really want to add a perl wrapper to a lovely C program. I was > hoping I

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Eric Covener
On Thu, Dec 31, 2009 at 12:31 PM, Tushar Joshi wrote: > was hoping I could do something like getenv("HEADERS_REMAINING") or I could > write an apache module to grab the SOAPAction header and set it in an > environment variable. http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html#setenvif (or m

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Tushar Joshi
On 31 Dec 2009, at 16:20, Nick Kew wrote: On 31 Dec 2009, at 01:44, Tushar Joshi wrote: Hi, I'm trying to get a HTTP header from my CGI program, in this particular example it's SOAPAction, however I'm not sure how to do this as you can only getenv some of the headers. Erm, it seems

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Nick Kew
On 31 Dec 2009, at 01:44, Tushar Joshi wrote: > > Hi, > > I'm trying to get a HTTP header from my CGI program, in this particular > example it's SOAPAction, however I'm not sure how to do this as you can > only getenv some of the headers. Erm, it seems neither you nor several who have respond

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread André Warnier
Scott Gifford wrote: André Warnier writes: Tushar Joshi wrote: Hi thanks for the reply. I'm writing my applications in C so would have thought there might be a low level way of doing this. [...] But, in general, if this is a CGI program, then it is running as a separate process from Apach

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Scott Gifford
André Warnier writes: > Tushar Joshi wrote: >> Hi thanks for the reply. I'm writing my applications in C so would >> have thought there might be a low level way of doing this. [...] > But, in general, if this is a CGI program, then it is running as a > separate process from Apache itself, and i

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread André Warnier
Tushar Joshi wrote: Hi thanks for the reply. I'm writing my applications in C so would have thought there might be a low level way of doing this. I was asking, just in case you were using Perl. I would then have pointed you to mod_perl and the CGI module, which together allow you to do that

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread Tushar Joshi
Hi thanks for the reply. I'm writing my applications in C so would have thought there might be a low level way of doing this. Turtle Networks Tel +44 (0)20 8896 2600 www.turtle.net Unit 48 Concord Road London W3 0TH On 31 Dec 2009, at 14:23, André Warnier wrote: Tushar Joshi wrote: Hi, I'

Re: [us...@httpd] Getting HTTP Headers from CGI program

2009-12-31 Thread André Warnier
Tushar Joshi wrote: Hi, I'm trying to get a HTTP header from my CGI program, in this particular example it's SOAPAction, however I'm not sure how to do this as you can only getenv some of the headers. Is there a way to get all the headers sent from the client or a way in maybe the apache config

[us...@httpd] Getting HTTP Headers from CGI program

2009-12-30 Thread Tushar Joshi
Hi, I'm trying to get a HTTP header from my CGI program, in this particular example it's SOAPAction, however I'm not sure how to do this as you can only getenv some of the headers. Is there a way to get all the headers sent from the client or a way in maybe the apache config to set the environme