httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 上原 雄一郎 <y-ueh...@sss21.co.jp>
Subject RE: [users@httpd] Is there a way to set the Proxytimeout to "each URL"?
Date Wed, 18 Feb 2015 06:40:11 GMT
Hi.

I tried this.

// Code start

LoadModule proxy_module modules / mod_proxy.so

LoadModule proxy_ajp_module modules / mod_proxy_ajp.so

ProxyPass / exampleProject http://192.168.111.123/exampleProject/

ProxyTimeout 10

// Code end

A result, the connection was held for 10 seconds, it was cut.

 

Purpose I want to set the ProxyTimeout at "each URL".

However, the method can not be found.

 

This was not possible.

// Code start

LoadModule ... omitted

 

ProxyPass / exampleProject http://192.168.111.123/exampleProject/ timeout = 10

// Code end

A result, it will not be disconnected after 10 seconds.

Do not know anymore why say.

 

From: Sandeep Kamble [mailto:sandeepk.l337@gmail.com] 
Sent: Wednesday, February 18, 2015 11:48 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Is there a way to set the Proxytimeout to "each URL"?

 

All you have to write in code. Add some delya if you detect pattern1 . 

On 18 Feb 2015 07:59, "上原 雄一郎" <y-uehara@sss21.co.jp <mailto:y-uehara@sss21.co.jp>
> wrote:

Hello! I am Yuichiro
I am Japanese.
English is difficult. I'm sorry!

Please tell us about the apache settings.

Is there a way to set the Proxytimeout to "each URL"?

Environment: apache2.4 + glassfish4.1 + seasar2
Cooperation: mod_proxy.so and mod_proxy_ajp

For example
No. 1 URL: http: //192.168.111.123/exampleProject/ <http://192.168.111.123/exampleProject/>

timeout = 60

No. 2 URL: http: //192.168.111.123/exampleProject/pattern1/ <http://192.168.111.123/exampleProject/pattern1/>

timeout = 300

As a result of the expected is
"Reference will be waiting for the response of 60 seconds,
Only URL that contains the "pattern1", and waits for a response of 300
seconds "

Please help!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org <mailto:users-unsubscribe@httpd.apache.org>

For additional commands, e-mail: users-help@httpd.apache.org <mailto:users-help@httpd.apache.org>



Mime
View raw message