some.host.com is a Virtual Host. It has a Web Server External App configured:
- Name: another.host.net
- Address: another.host.net:80
- Max Connections: 50
- Initial Request Timeout (secs): 2
- Retry Timeout (secs): 0
- Response Buffering: No
And it has Rewrite enabled with the following rule:
RewriteRule ^/(.*)$ http://another.host.net/$1 [p]
This works fine when I restart lsws, but after a while, if some.host.com changes IP address, it stops working.
i.e. lsws seems to keep trying to use the previous IP address, and all requests start returning 503.
Is there any way I could force lsws to refresh it's DNS cache for that redirect?
Thanks.
- Name: another.host.net
- Address: another.host.net:80
- Max Connections: 50
- Initial Request Timeout (secs): 2
- Retry Timeout (secs): 0
- Response Buffering: No
And it has Rewrite enabled with the following rule:
RewriteRule ^/(.*)$ http://another.host.net/$1 [p]
This works fine when I restart lsws, but after a while, if some.host.com changes IP address, it stops working.
i.e. lsws seems to keep trying to use the previous IP address, and all requests start returning 503.
Is there any way I could force lsws to refresh it's DNS cache for that redirect?
Thanks.