PDA

Bekijk de volledige versie : http redirection



kojok
17-02-2010, 19:21
I am looking for method to redirect http requests made from hosts connected to router to another address.

For example:
If somebody tries to open page foo.com or foo.com/baz etc., then it should be redirected to bar.com/example

I know that similar efect could be done with DNS, but it would result in redirection from 'foo.com' to 'bar.com' or 'foo.com/baz' to 'bar.com/baz', and not from 'foo.com/baz' to 'bar.com/example'.

wengi
18-02-2010, 08:38
Install a webserver listening on port 80 and use a redirection.
http://en.wikipedia.org/wiki/URL_redirection#Techniques

wengi