[EMAIL PROTECTED] (Martin Lindhe) writes:

> > Hi Martin,
> > 
> > Take a look at the Apache mod_rewrite docs.
> > 
> > http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
> Thanks alot! 
> I made a similar solution which works
> RewriteEngine on
> RewriteRule "^/x/(.*)"                "http://www.server2.com/users/$1";
> takes www.server1.com/x/martin to www.server2.com/users/martin
> Great! I'm also wondering wether i can hide this redirect, as of
> now the redirected url is shown to the user

useful link: http://www.apache.org/docs-2.0/misc/rewriteguide.html

RewriteEngine on
RewriteRule     ^/x/(.*)        http://www.server2.com/users/$1 [P]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to