Re: Re: How to pass variables to php functions from url's?

From: Date: Fri, 07 Sep 2001 13:00:44 +0000
Subject: Re: Re: How to pass variables to php functions from url's?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66387@lists.php.net to get a copy of this message
martin@humany.com (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]

« previous php.general (#66387) next »