Redirect all pages of a domain except for one page with .htaccess

I had a really tough time this morning trying to figure out how to redirect all pages of one domain to another domain, but stop one (or two) of the pages on the old domain from redirecting.

The solution is as follows:

RewriteEngine on
#Note: do not include a "/" in the beginning of the path, this is automatic
RewriteCond $1 !^enquiry_control/enquiry4.php
RewriteCond $1 !^enquiry_control/capt.php
RewriteRule (.*)$1 [R=301,L]

Yup, its as easy as that – typical.