What version of TomEE are you using? Jon
On Mon, Mar 5, 2018 at 10:51 PM, Patabandula, Gangadhar < gangadhar.pataband...@ltcg.com> wrote: > All, > > > > I am configuring a maintenance page for my application to block users > accessing the application during maintenance window. > > > > I have configured below valve in context.xml as attached. > > > > <Valve className="org.apache.catalina.valves.rewrite.RewriteValve" /> > > > > I have created rewrite.config file as attached with below rule. > > > > RewriteRule ^/home/.*$ /maintenance.html [L] > > > > Now I restarted TomEE. > > > > When I accessed http://localhost/ I am getting block page where I am > expecting server admin page > > When I accessed http://localhost/home/ I am getting block page where I > am expecting maintenance.html page. > > > > Could anyone help me solve the issue. > > > > Regards, > > Gangadhar. > > > Notice - The information and attachment(s) contained in this communication > are intended for the addressee only, and may be confidential and/or legally > privileged. If you have received this communication in error, please > contact the sender immediately, and delete this communication from any > computer or storage system. Any interception, review, printing, copying, > re-transmission, dissemination, or other use of, or taking of any action > upon this information by persons or entities other than the intended > recipient is strictly prohibited by law and may subject them to criminal or > civil liability. No LTCG companies shall be liable for the improper and/or > incomplete transmission of the information contained in this communication > or for any delay in its receipt. >