How to Redirect Home Page Using Apache and Nginx

We needed to redirect all requests for the home page to the new home page, which is living on another server with the other new goodies.  On server1, Nginx handles all requests, most of which we send through to the Apache instance.  In that Apache's conf, we have the following:

redirectMatch 301 ^/$ http://server2/

which sends the request off to server2.  All other requests sent to server1 are handled by Apache on that server.

0 Comments, 0 trackbacks (Trackback URL)

0 responses to How to Redirect Home Page Using Apache and Nginx

Leave a Comment
  1. (required)
  2. Ignore this field:
  3. Don't put anything in this field:
    Don't put anything here:
  4. Leave this empty:
    (required)
  5. Your email is not publically displayed.