Where and how do I set this? I'm to Unix and PHP.

"Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Robert Winter wrote:
> > Is it possible to configure PHP/.htAccess/etc. for assuming a query when
the
> > users enters a path like this:
> >
> > www.myserver.com/path/154    --> assumes
> > www.myserver.com/path/index.php?code=154
> >
> > The only thing I could do is avoid writing index.php but I still have to
> > write the ?: www.myserver.com/path/?154
> >
> > Any idea?
> > Thanks.
> > Gus
> >
>
> 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