httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Schönbach <>
Subject [users@httpd] mod_rewrite redirect to different server
Date Mon, 19 Sep 2011 19:34:36 GMT

is it possible to write a mod_rewrite rule, which reroutes requests to
another server, if they are not found on the current server e.g.:

Requested URL:

Backup URL:

The redirect should only be made if the Requested URL delivers a 404

I intend to use this for images etc. so I don't have to copy 20 GB of
data from one server to my localhost just to get all the image files.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message