Many thanks for your code.
Finally, i added a file (xxxredirect.php); calling it into index.php, and for now (maybe tomorrow i detect some contraindications), all seems to be ok.
I included at xxxredirect.phph a redirection from www.mysite.com/shop/index.php to www.mysite.com/shop/ too

Many thanx