httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Sacchetto <mauro.sacche...@tele2.it>
Subject Re: [users@httpd] Address rewriting with mod_rewrite
Date Mon, 06 Oct 2008 16:18:08 GMT
Il lunedì 6 ottobre 2008 15:55:33 Eric Covener ha scritto:
> The query string (after the question mark) isn't part of what you're
> comparing against. To compare against the query string, precede your
> rule with
> Rewritecond %{QUERY_STRING} pagina=home (and remove the query string part.
> The 2nd parameter of your RewriteRule should be a full URL
> (host/port/path) or just "/" in this case would work, and should not
> have any regex characters like "^" in it.

I tried this whole address string:
RewriteRule http://www.giovannifornero.net/index.php?pagina=home$ 
http://www.giovannifornero.net [R=301,NC,L]
but even this time it doesn't work...
Has it some mistakes?

Thanx!
MS

-- 
linux user no.: 353546

---------------------------------------------------------------------
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