Hi,Does anyone know a simple way to do this? I'm trying to test a replacement web server hosting about 200 sites. To avoid absolute links referring users back to the original server I'd like to do a rewrite or output filtering on the fly to search urls for a given string (the name of the original server) and replace all occurrences with the name of the second server before processing the request.
E.g.www.server1.ie/whatever... gets re-addressed on the fly to www.server2.ie/whatever
where 'whatever' is the same on both boxes and not all urls may contain an absolute server reference (if they're relative)
The original box is live so I have to be careful how I go! Anyone know how I can do this under apache 2.2.8? Thanks, Maria -- Maria Fogarty, Web Administrator, Information Systems Services, Trinity College Dublin. Tel: 01 8963640 Email: webmaster@xxxxxx Please note that electronic mail to, from, or within the College may be the subject of a request under the Freedom of information Act. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx