htaccess no redirec server code

2 replies
I have several domains aliases and want to display (not redirect) a different page on a differect domain on another server. For example

modrewrite ^(.+)? http://www.different-domain.com/some...t.php?domain=$[HTTP_HOST] [L]

but whenever I do this it gives a header 301 redirect. I need it to be a 200

Any ideas?
#code #htaccess #redirec #server
  • Profile picture of the author mojojuju
    This sounds like a job for mod_proxy.
    Signature

    :)

    {{ DiscussionBoard.errors[1841656].message }}
  • Profile picture of the author SpamHat
    Depending on your requirements you may want to use a 100% scaled iframe.

    Works very well for a number of situations.
    {{ DiscussionBoard.errors[1843325].message }}

Trending Topics