ampo Posted October 16, 2008 Share Posted October 16, 2008 Hello. I have client who turn to Server1. Server1 send xmlHTTPRequest Server2 (another domain - "cross domain"). Server2 should response with XML back to client (through Server1). Who can I do this to avoide the security problem? I read the mod_rewrite / <Proxy> documentation but found nothing about it. Thanks. Link to comment https://forums.phpfreaks.com/topic/128696-mod_rewrite-for-redirect-to-another-url/ Share on other sites More sharing options...
trq Posted October 16, 2008 Share Posted October 16, 2008 While it can be done with mod_rewrite: RewriteEngine On RewriteRule /.* http://www.new.com/ [R] You ought use mod_alias instead. Redirect / http://www.new.com/ Link to comment https://forums.phpfreaks.com/topic/128696-mod_rewrite-for-redirect-to-another-url/#findComment-666963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.