httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <>
Subject Re: [users@httpd] Disable apache web server not to accept any new requests from clients
Date Tue, 02 Aug 2016 06:48:36 GMT
You could try a curtains method.

That is, if a certain file is present, redirect to a halt page

        <If "-f '/path/to/file.lock'">
                RedirectMatch  ^/

2016-08-02 7:07 GMT+02:00 Mohanavelu Subramanian <>:

> Hi All,
> In our project, we are using Apache server as load balancer(mod_proxy)
> with many instances of tomcat containers as backend.
> I have a scenario where we need to have an option for Activate/De-activate
> traffic in apache server. In case of de-activate scenario, apache server
> should not accept any new requests from clients, but all the already
> received requests from clients have to be successfully processed by tomcat
> and return the response.
> I did a study on how to achieve this use-case through graceful stop option
> in apache web server.
> But now the requirement is, apache server should be in running state but
> it should not accept any new requests from clients and it should process
> only already accepted requests. I searched in apache portal on how to
> achieve this. but I didnt get any details from there. Could you please help
> me on how to achieve this use-case. Is there any configuration option in
> apache to achieve this and some graceful restart.
> Thanks in Advance.
> Best Regards,
> Mohan

*Daniel Ferradal*
IT Specialist

email         dferradal at

View raw message