htaccess no redirec server code

by 2 replies
3
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?
#programming #code #htaccess #redirec #server
  • This sounds like a job for mod_proxy.
  • Depending on your requirements you may want to use a 100% scaled iframe.

    Works very well for a number of situations.

Next Topics on Trending Feed

  • 3

    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]