Re: URL rewriting...anybody done this?
| From: | Ryan A | Date: | Wed, 14 Jan 2004 22:57:37 +0000 |
| Subject: | Re: URL rewriting...anybody done this? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174597@lists.php.net to get a copy of this message | ||
Hey,
At least you remember what it used to look like, I dont!
Soo many modificatios in both .htaccess and httpd.conf and restarts...have
just lost track.
Will try your example one at a time and see what happens.
Thanks again.
Cheers,
-Ryan
> Seems like you are getting closer. You are going to the right place, but
> none of your variables are making it. I am not sure what your rule looks
> like now, but at one point it was:
>
> RewriteRule ^show/(.*)/(.*)/(.*) /show.php?category=poetry&sid=$2&id=$3
>
> I would recommend trying just one variable first. See if you can get
> that to work, then add the others one at a time. Maybe something like
> this to start with:
>
> RewriteRule ^show/(.*) /show.php?foo=$1
>
> And see what $_GET looks like.
>
> - Brad