httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess
Date Tue, 09 Mar 2010 00:44:29 GMT
On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov <icicimov@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@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message