--005045016abdf940b40481540a5c
Content-Type: text/plain; charset=ISO-8859-1
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 <covener [at] gmail.com> wrote:
> On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov <icicimov [at] 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
> covener [at] 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-unsubscribe [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
--005045016abdf940b40481540a5c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
This works for me tested<br><br>RewriteCond %{QUERY_STRING} ^opt=3Ddom_cont=
&task=3Dview&id=3D18&Itemid=3D28$<br>RewriteRule ^/index.php$ <=
a href=3D"https://www.domain.com/index.php?opt=3Ddom_cont& task=3Dview&a=
mp;id=3D17&Itemid=3D27" target=3D"_blank">https://www.domain.com/index.=
php?opt=3Ddom_cont&task=3Dview&</a>id=3D17&Itemid=3D27
[R,L]<br><br><br><div class=3D"gmail_quote">On Tue, Mar 9, 2010 at 11:44 A=
M, Eric Covener <span dir=3D"ltr"><<a href=3D"mailto:covener [at] gmail.com">=
covener [at] gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, =
204); padding-left: 1ex;">
<div class=3D"im">On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov <<a href=
=3D"mailto:icicimov [at] gmail.com">icicimov [at] gmail.com</a>> wrote:<br>
<br>
> RewriteRule ^/index.php$<br>
> <a href=3D"https://www.domain.com/index.php?opt=3Ddom_cont&task=3D=
view&&id=3D%1-1&Itemid=3D%2-1" target=3D"_blank">https://www.do=
main.com/index.php?opt=3Ddom_cont&task=3Dview&&i d=3D%1-1&It=
emid=3D%2-1</a><br>
> [R,L]<br>
><br>
<br>
</div>You probably need a RewriteMap to do that increment.<br>
<div><div></div><div class=3D"h5"><br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com">covener [at] gmail.com</a><br>
<br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org">users-digest-unsubscribe [at] httpd.apache.org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org">users-help [at] httpd.apache.org</a><br>
<br>
</div></div></blockquote></div><br>
--005045016abdf940b40481540a5c--
