httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] htaccess format howto question
Date Fri, 14 May 2010 01:42:37 GMT
ReewriteEngine On
RewriteCond %{QUERY_STRING} ^id=606$
RewriteRule ^/index.php$ http://domain.com [R,L]

Not tested but should work.

Igor

On Fri, May 14, 2010 at 11:08 AM, David Banning <david@skytracker.ca> wrote:

> I am wondering how I might do a .htaccess redirect if I want to redirect
>
> domain.com/index.php?id=606
>
> to domain.com
>
> I have been pouring over many apache how-to's and have not been able to
> find an answer as yet.
>
>
>
> ---------------------------------------------------------------------
> 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