Hi,
Hi,
I use Apache 2.2.8 (2.2.6) worker mpm as frontend proxy server for
working up static requests.
And Apache 2.2.3 mpm prefork (as backend) with mod_php serves to work
up
dynamic requests, in this case, for PHP scripts.
I separate static from dynamic in worker with simple rules mod_rewrite,
for example:
...
RewriteCond %{HTTP_HOST} ([^/:]*)(.*)
RewriteRule ^([^?]*)\.php(.*)$ http://%1:8080%{REQUEST_URI} [NC,L,P]
...
When backend doesn't answer on requests, frontend returns to the client
an error 502 Proxy Error.
I want to increase timeout for getting this error. I tried to use
Timeout 300, ProxyTimeout 300 in httpd.conf, but it didn't bring any
result, timeout is 180 seconds.
I check it this way:
$ cat sleep.php
<?php ini_set ('max_execution_time', '3600'); sleep (600); ?>
$ time wget -T 3600 http://test-apache.hu/sleep.php
--21:23:42-- http://test-apache.hu/sleep.php
=> `sleep.php'
Resolving test-apache.hu... 111.222.222.111
Connecting to test-apache.hu|111.222.222.111|:80... connected.
HTTP request sent, awaiting response... 502 Proxy Error
21:26:43 ERROR 502: Proxy Error.
real 3m1.556s
user 0m0.000s
sys 0m0.004s
Does anyone have ideas what the timeout is and how to increase it?
--
BRGDS. Alexey Vlasov.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]