Charlie,
I've been testing your suggestion (with quotes around the entire rule, followed by the semi-colon, per your example). When I expanded the template, I get a warning like this:
WARNING in /etc/e-smith/templates-custom//etc/httpd/conf/httpd.conf/VirtualHosts/35Rewrite: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates-custom//etc/httpd/conf/httpd.conf/VirtualHosts/35Rewrite line 6.
The template expands, but when restart httpd and I display the site, I'm missing the formatting and icons, as if there is a permissions error (but it doesn't show in the logs). If I go back to the rule without the conditional logic, I see the home page as expected.
Do I need to escape the rule parameters?
Thanks,
Des