This works for me tested

RewriteCond %{QUERY_STRING} ^opt=dom_cont&task=view&id=18&Itemid=28$
RewriteRule ^/index.php$
https://www.domain.com/index.php?opt=dom_cont&task=view&;<https://www.domain.com/index.php?opt=dom_cont&task=view&id=17&Itemid=27>id=17&Itemid=27
[R,L]


On Tue, Mar 9, 2010 at 11:44 AM, Eric Covener <cove...@gmail.com> wrote:

> On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov <icici...@gmail.com> wrote:
>
> > RewriteRule ^/index.php$
> >
> https://www.domain.com/index.php?opt=dom_cont&task=view&&id=%1-1&Itemid=%2-1
> > [R,L]
> >
>
> You probably need a RewriteMap to do that increment.
>
> --
> Eric Covener
> cove...@gmail.com
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to