Re: RewriteRule
| From: | Daniel Brown | Date: | Sun, 12 Oct 2008 18:11:27 +0000 |
| Subject: | Re: RewriteRule | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281762@lists.php.net to get a copy of this message | ||
On Sun, Oct 12, 2008 at 12:57 PM, Ron Piggott
<ron.php@actsministries.org> wrote:
> I am needing to pass 2 variables in a script I am writing. Does anyone
> know how to do this?
>
> http://www.domain.com/blog/1/2/
>
> I know how to pass 1; I have no idea how to write a rewrite rule to pass
> the 2 as well.
That's an Apache question, Ron, but it's a matter of using
RewriteRule to parse $1 and $2 (and so forth).
--
</Daniel P. Brown>
More full-root dedicated server packages:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Intel 2.4GHz/320/GB/1GB/3TB $74.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.