Re: Address rewriting with mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux