I would like to test the existence of a file in my httpd.conf of Apache 2.4.
I use the tag like this :
You should read Apache error log as it might provide some hint on how it is interpreted.
Anyway, the right syntax is: <If "-f %{DOCUMENT_ROOT} . '/maintenance.enable'">
<If "-f %{DOCUMENT_ROOT} . '/maintenance.enable'">