If I remove the redirects the server works perfect,
Do you mean that when remove the redirect directives from the apache configuration your redirection work and just a question about why you are getting errors or do you need help?
Do you have mod_rewrite enabled on the other server where it isnt working.
Create file in the public folder phpinfo.php containing
<?php
phpinfo();
?>
The goto http://yoursite.com/phpinfo.php and see if you see mod_rewrite anywhere? If not install the mod_rewrite package and restart apache and try again.
Apache syntax errors are usually either missing modules or directives in the wrong place.
And make sure you remove the phpinfo script as soon as you confirm mod_rewrite is installed. It a huge security hole to expose publicly
@Cronix same project on a localhost environment works => the same files that are deployed on a public vps server are running too on a private network localhost (not public network)
In htaccess is the problem...and i don`t know which.
Like i said if I ONLY REMOVE the lines that contains the 301 redirects works on vps. The same htaccess run and works perfect on a local environment