I believe this can be accomplished using apache's modRewrite.
I am a little short on time at the moment as I am preparing to move across
the country tomorrow, but otherwise I'd look up the exact lines for you.
Around the time when I was experimenting with it, I found the
documentation to be a little hazy, so if you have any troubles with it let
us know... ;)
http://httpd.apache.org/docs/mod/mod_rewrite.html
return 0;
/* adam */
On Sun, 26 Aug 2001, Phil Suh wrote:
>
>
> i've got a site: http://xmlns.filsa.org/
>
> it's also accessible via the .NET address,
>
> http://xmlns.filsa.net/
>
> however, if a user comes to the site via the .net address, I want to
> config apache to return the .org address.
>
> that is, if a user types 'xmlns.filsa.net' into the browser's address bar,
> they should end up on the xmlns.filsa.ORG site, and the address bar in the
> browser should read: http://xmlns.filsa.ORG/
>
> how can i get that behaviour? currently, the .NET address goes to the
> site, but the address bar doesn't update...
>
> any ideas?
>
> thx, phil
>
> GPG [ Key Id: 0x1E766390 | http://filsa.net/keys ]
>
>