I migrated my site from xoops to drupal :-) and there were a need to change the files folder to another location in the filesystem. Before it was a part of the xoops root so requests to a file such as
http://bioinfo.cpqrr.fiocruz.br/files/courses/biomolstacasa2006/Aula_1.ppt were valid. Now it resides on sites/bioinfo.cpqrr.fiocruz.br/files/courses and all of my links became broken because of this. What I'm trying to do is creating a rewrite rule that redirects all of the requests to /files/* to /sites/bioinfo.cpqrr.fiocruz.br/files/* I don't know regex very much and I don't know much about apache's rewrite engine. Could please someone help me?