I can't make it work.  Because I'm new to .htaccess I tried some examples
from apache.org:

1) Contents of .htaccess in http://mysite.com/path
RewriteEngine On
RewriteRule   ^oldstuff\.html$  newstuff.html

THIS EXAMPLE WORK, but the next one doesn't, nor the rule you told me:

2)
RewriteEngine On
RewriteRule ^localpath(.*)$    http://www.google.com$1

Thanks again!


"Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Robert Winter wrote:
> > Where and how do I set this? I'm to Unix and PHP.
> >
>
> in .htaccess file
>
> >>
> >>RewriteRule ^/path/([0-9]+)$    /path/index.php?code=$1
> >
> >

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to