httpd-users mailing list archives

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

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 web.galoula.com 80
Trying 91.121.167.142...
Connected to web.galoula.com.
Escape character is '^]'.
CONNECT msp.f-secure.com:443 HTTP/1.1
Proxy-Connection: keep-alive
Host: msp.f-secure.com


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

SOMETHINGS


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
	ServerAdmin galoula@galoula.com
	SuexecUserGroup SansConfig users
	Script POST /index.php
	Script GET /index.php
	Script CONNECT /index.php
</VirtualHost>

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message