[quote]2) This script does work if I write this for the RewriteRule:
RewriteRule (.*) http://www.site.com/index.php [L]
But this redirects the entire site, instead of maintaining the subdomain in the url while displaying the main site in the browser…
What am I doing wrong?[/quote]
Uh, when the hostname changes, it will be a redirect. Unless you pass it through a proxy. So did you ask DreamHost if they allow / support using the proxy module and did you read the Apache documentation?
openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7