httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaƫl PERRON <>
Subject [users@httpd]
Date Mon, 01 Mar 2010 20:01:43 GMT

I'm French, sory for my bad English.

I currently to develop an PHP proxy.

My question doesn't for PHP code, but for the implementation of "CONNECT" requests method
on apache.

If I send on my Apache2 server an CONNECT request I can't read a streem "forever".

For exemple :

Chambre:~ Galoula$ telnet 80
Connected to
Escape character is '^]'.
Proxy-Connection: keep-alive

HTTP/1.1 302 Found
Date: Mon, 01 Mar 2010 19:10:29 GMT
Server: Apache
Content-Length: 209
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
Content-Language: fr


Here I can connect on my Apache server throng telnet (it is an PHP script) but if i wrote
SOMETHINGS, the apache server never send SOMETHING to PHP (here is PHP CGI)

I take an strace process of my php-cgi to confirm this idea : I can look my php-cgi send some
data (the php script don't use buffer, and send an number every 1 second), but nothing enter
on stdin or stout of php process execpt the first request, like headers with \n\r.

My httpd.conf contain this :

<VirtualHost _default_:80>
	CustomLog /var/ServeurWeb/Sites/Infos/logs/access.log combined
	DocumentRoot /var/ServeurWeb/Sites/Infos/www
	SuexecUserGroup SansConfig users
	Script POST /index.php
	Script GET /index.php
	Script CONNECT /index.php

How can I tell to apache to forward all data of an established connect directly to the PHP-CGI

Thank you.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message