Il lunedì 6 ottobre 2008 15:56:23 Krist van Besien ha scritto: > In what direction do you want the rewrite to happen? > Let me guess: You want the user to be able to enter the following in > the address bar in his browser: > http://www.giovannifornero.net > and the webserver should then answer with the same content as if the > user had entered: > http://www.giovannifornero.net/index.php?pagina=home > Am I correct? Yes! > In this case you just have you rewrite the wrong way around. You are > trying to rewrite A -> B whereas you need to rewrite B -> A The corrected string RewriteRule ^giovannifornero.net$ /index.php?pagina=home$ [R=301,NC,L] doesn't work in any case... > Doing this in .htaccess files is possible with a rewrite, but this > might not be the best way. If you want visitors to your site to start > at /index.php?pagina=home than the following might work better: > DirectoryIndex /index.php?pagina=home I describe you the situation. I start with the address: http://www.giovannifornero.net. I change page, After, I come back to home using the menu. Ths time, the address is: http://www.giovannifornero.net/index.php?pagina=home I'd like the address was in any case http://www.giovannifornero.net. 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