When you say "subdomain", do you mean "
www.adifferentdomain.com" or "subdom.primarydomain.com"? The first case is an
add-on domain and the second is a
subdomain, although the CGI problem should be the same in either. Just keep in mind that you can't jump back and forth between the primary domain and subdomains or add-on domains by using just a directory path. You can with
http://....., but be careful.