I'm trying to write a redirect statement in the .htaccess file for the following:

1. All pages on one domain redirect to a single page on another domain say http://www.somesite.com/somepage.php

2. The exception to this is any pages within the cpanel directory which should not redirect at all.

I know this needs to be done with regular expressions but all the attempts I have tried so far do not work!

Help!

DJ