Forum Moderators: phranque
For example say suppost the url http://example.com/viewtopic.php?t=34]gets listed on slashdot or digg, i want to do a rewrite of the url so that it points here http://example.net:8090/viewtopic.php?t=34]
[edited by: jdMorgan at 3:57 am (utc) on Oct. 4, 2005]
[edit reason] Examplified. [/edit]
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} slashdot\.org [NC,OR]
RewriteCond %{HTTP_REFERER} digg\.com
RewriteRule ^/(.example.net:8090*)$ [%example.com$1...] [R]
[edited by: jdMorgan at 3:58 am (utc) on Oct. 4, 2005]
[edit reason] Examplified. [/edit]