I need to redirect all requests to a maintenance page except a specific URL that could still give me the possibility to access the normal website.
I googled but I did not find anything.
Right now I am redirecting with:
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{REQUEST_FILENAME} !/maintenance.html
RewriteRule ^.*$ /maintenance.html [L]
Normally (because now it is commented out) I am using Tomcat 6 behind Apache with jk_mod:
<IfModule mod_jk.c>
JkMount / worker1
JkMount /* worker1
</IfModule>
But how grant the possibility to access the normal website through a specific URL maybe?