[us...@httpd] Apache Mod Proxy with HTTP Post

2009-09-11 Thread MarkAtHarvest
I have configured my proxy as below ProxyRequests off Order Allow,Deny Allow from all ProxyPass /tproxy/ http://twitter.com/ ProxyPassReverse /tproxy/ http://twitter.com/ RequestHeader unset Accept-Encoding I am trying access Twitter webservice REST APIS from my client.. Everything wor

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread William A. Rowe, Jr.
André Warnier wrote: > Hi. > As regarding the overall content-length header, has anyone re-checked > the relevant part of the HTTP RFCs ? I haven't yet, but I seem to > remember that for chunked encoding, each chunk has an individual length, > but there is no overall content-length. > Which would m

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread André Warnier
Hi. As regarding the overall content-length header, has anyone re-checked the relevant part of the HTTP RFCs ? I haven't yet, but I seem to remember that for chunked encoding, each chunk has an individual length, but there is no overall content-length. Which would meake sense, because at the ti

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Nick Kew
Chris Cross wrote: Nick, 1) Reading till EOF works fine. I'd gotten in the habit of using Content-Length in the non-chunked case so hadn't tried it until now. The "Transfer-Encoding: chunked" header is set. Is that proper if "de-chunking" has occurred? Well, the CGI spec pre-dates HTTP/1.1

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread Wolfgang Schaefer
thomas2004 schrieb: > I have to some correction as follow: > > >> Once you make sure that there is an Apache running, then you could try the >> > following : > >> enter the command : >> telnet web-mycompany.com 80 >> GET / HTTP/1.0 >> > > >> (the second line above, you have to en

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 11:18:03 AM: > > Chris Cross wrote: > > Nick Kew wrote on 09/11/2009 10:31:46 AM: > > > Hmmm. That sounds buggish (dammit, it's a long time since I did > > > anything nontrivial with CGI). > > > > > > What Apache version, and what CGI implementation? > > > > F

[us...@httpd] Apache Proxy question

2009-09-11 Thread Dirk Stöcker
Hello, I have a little problem with Proxy redirects on one of my servers and I'm out of helpful documentation to solve the issue. Situation: - There is an NTRIP-Caster (this is a special purpose HTTP server) running on port 2101 of the machine - On Port 80 (and 443 for HTTPS) is an Apache.

Re: [us...@httpd] http problem

2009-09-11 Thread Rodrigo Aliste P.
2009/9/11 Eric Covener > On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. > wrote: > > Hi > > > > I know this is no a support forum, but I'm having troubles with Apache > and I > > don't know what could it be! > > This is a support forum! > Oh, so even better!! > > > > > The problem is tha

Re: [us...@httpd] http problem

2009-09-11 Thread Eric Covener
On Fri, Sep 11, 2009 at 11:51 AM, Rodrigo Aliste P. wrote: > Hi > > I know this is no a support forum, but I'm having troubles with Apache and I > don't know what could it be! This is a support forum! > > The problem is that sometimes the Httpd child pids start to segfault without > any reason,

[us...@httpd] Re: http problem

2009-09-11 Thread Rodrigo Aliste P.
Another strace: write(15, "/\0\0\0\3SELECT * FROM wp_users WHER"..., 51) = 51 read(15, "\1\0\0\1\f8\0\0\2\3def\16wp_taconeras_a\10wp_"..., 16384) = 1053 poll([{fd=15, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) write(15, "B\0\0\0\3SELECT meta_key, meta_value"..., 70) = 70 read(15, "\1\0\0\1\2J\0\

[us...@httpd] http problem

2009-09-11 Thread Rodrigo Aliste P.
Hi I know this is no a support forum, but I'm having troubles with Apache and I don't know what could it be! The problem is that sometimes the Httpd child pids start to segfault without any reason, memory is good, cpu is good, is all good! I've stacktraced a segfault and it shows me nothing. The

[us...@httpd] Re: .htaccess does not work {for me}

2009-09-11 Thread Jonesy
On Thu, 10 Sep 2009 15:04:06 -0400, testwreq wreq wrote: > > I figured out the small typo ... In this business there is _no_ "small typo" - The official User-To-User support forum of the Apache HTTP Server Project. See http://ht

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Nick Kew
Chris Cross wrote: Nick Kew wrote on 09/11/2009 10:31:46 AM: > Hmmm. That sounds buggish (dammit, it's a long time since I did > anything nontrivial with CGI). > > What Apache version, and what CGI implementation? From my CGI env: That's not actually what I asked (many CGI implementatio

[us...@httpd] How can I get rid of these errors

2009-09-11 Thread Mohit Anchlia
We have a health check page and when our F5 does health check to see if servers are up and running we see the following: [Wed Sep 09 13:20:48 2009] [info] Seeding PRNG with 136 bytes of entropy [Wed Sep 09 13:20:48 2009] [info] [client 10.4.1.24] (70014)End of file found: SSL handshake interrupte

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 10:31:46 AM: > Hmmm. That sounds buggish (dammit, it's a long time since I did > anything nontrivial with CGI). > > What Apache version, and what CGI implementation? >From my CGI env: SERVER_SOFTWARE=Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mo

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Nick Kew
Chris Cross wrote: Thanks for the quick reply Nick. The CONTENT_LENGTH env variable is not being set when I post with Transfer-Encoding: chunked. Does that mean that Apache doesn't support de-chunking for CGI? Hmmm. That sounds buggish (dammit, it's a long time since I did anything nontrivia

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Nick Kew wrote on 09/11/2009 09:55:25 AM: > Chris Cross wrote: > > Hi, > > I haven't been able to find any documentation on how (or if) CGI handles > > Transfer-Encoding: chunked. It looks to me like Apache is eating the > > chunk size line, as the first byte of data I read from stdin is the dat

Re: [us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Nick Kew
Chris Cross wrote: Hi, I haven't been able to find any documentation on how (or if) CGI handles Transfer-Encoding: chunked. It looks to me like Apache is eating the chunk size line, as the first byte of data I read from stdin is the data I'm posting. I can clearly see the chunk size line prece

[us...@httpd] How does Transfer-Encoding: chunked work with CGI?

2009-09-11 Thread Chris Cross
Hi, I haven't been able to find any documentation on how (or if) CGI handles Transfer-Encoding: chunked. It looks to me like Apache is eating the chunk size line, as the first byte of data I read from stdin is the data I'm posting. I can clearly see the chunk size line preceding the data in a pac

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread thomas2004
>A more comfortable way to test your webserver from your commandline is with the curl or wget command (every linux distribution has them, i prefer curl) >So do for example: >curl http://localhost >or >wget http://localhost >on the machine where your apache is running. When I entered "curl http:

[us...@httpd] check log between 2 dates

2009-09-11 Thread Melanie Pfefer
Hi, I am interested in getting all entries of apache between 2 dates. I am using the default log format. Any idea how to do this on Solaris? thanks - The official User-To-User support forum of the Apache HTTP Server Projec

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread Krist van Besien
On Thu, Sep 10, 2009 at 4:41 PM, André Warnier wrote: > > Once you make sure that there is an Apache running, then you could try the > following : > enter the command : > telnet web-mycompany.com 80 > GET / HTTP/1.0 > > (the second line above, you have to enter "blind", because there will be no >

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread André Warnier
thomas2004 wrote: Sorry for the late reply. I am from Germany. As you replied my question I was out of office. :) I am in Germany also, so that is a bad excuse. :-) ... I tried both and got a long list such as following: ... root 21625 1 0 Sep10 ?00:00:00 /usr/sbin/httpd a

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread thomas2004
I have to some correction as follow: >Once you make sure that there is an Apache running, then you could try the following : >enter the command : >telnet web-mycompany.com 80 >GET / HTTP/1.0 >(the second line above, you have to enter "blind", because there will be no echo; the third line is just

Re: [us...@httpd] A question about configuring Apache Http Server

2009-09-11 Thread thomas2004
Sorry for the late reply. I am from Germany. As you replied my question I was out of office. :) Now return to your answer: >Ok, let's start from there. >First, let's see if Apache is running. >When you enter the following command : >netstat -pan | grep '\:80' >it should at least show one line.