Hello !
Can I set the redirect 301 not in .htaccess but in apache conf ?
I have tried to set this
 
RewriteEngine on
RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1 [R=301,L]
and it doesnt work
if I put this in .htaccess it does
 
I want to set redirect  directory for all my vhosts http://domain/webmail  > 301 redirect > someanotherdomain/webmail
 
 
Regards,
Piotr