Forum Moderators: phranque
If you are rewriting in .htaccess, and all "addon domains" share this .htaccess file, then the code in that file will have to be made "domain sensitive" by testing the requested HTTP_HOST before rewriting. The basic element is:
RewriteCond %{HTTP_HOST} ^www\.example\.com
How you would then use the result of this test depends on exactly what you are trying to do with the rewrites.
Jim
[edit] Speling. [/edit]