Re: [kdub718] Calling table from external database/cms install
>maybe I'm wrong and there is another way...?
You can do a redirect with mod_rewrite like this that will maintain the path from root and the query string, etc:
# Redirect to new domain
RewriteEngine on
RewriteRule ^(.*)$ http://www.example.com/$1 [L,QSA]
http://www.siteA.com/dir/file.php?name=value#link redirects to:
http://www.example.com/dir/file.php?name=value#link
Or if you have mod_rewrite and mod_proxy you can do this:
RewriteEngine on
RewriteRule ^(.*)$ http://www.example.com/$1 [P,QSA,L]
http://www.siteA.com/dir/file.php?name=value#link loads the content from
http://www.example.com/dir/file.php?name=value#link
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com