Il lunedì 6 ottobre 2008 19:14:02 hai scritto:
> None of the examples in the manual match against the protocol or
> hostname part of the URL.
> I previously described that you also can't match the query string in
> the rewriterule.
> You also probably need a trailing slash on the 2nd argument.
> Note that this rule redirects from the index.php page _to_ the "/"
> page which seems to be the opposite of what you want.

To optimize the page for search motors, I neet to have always
a (pseudo)-static address in home. But I proceed for trials & errors
(moreover errors...). So I tried this (still not working):

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^giovannifornero.net [NC]
RewriteRule (.*) http://www.giovannifornero.net/$1 [L,R=301]
RewriteCond %{QUERY_STRING} pagina=home
RewriteRule ^$ http://www.giovannifornero.net [R=301,L]

I think more other syntactical mistakes...

Thax a lot

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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to