rendered paste bodyTry this (removed the last comma before the closing parentheses):
url.redirect = ( "^/fotogalerias/(.*)\.jpg$" => "http://cdn.server.com/fotogalerias/$1.jpg",
"^/fotogalerias/(.*)\.JPEG$" => "http://cdn.server.com/fotogalerias/$1.JPEG",
"^/fotogalerias/(.*)\.GIF$" => "http://cdn.server.com/fotogalerias/$1.GIF",
"^/fotogalerias/(.*)\.gif$" => "http://cdn.server.com/fotogalerias/$1.gif",
"^/fotogalerias/(.*)\.pcx$" => "http://cdn.server.com/fotogalerias/$1.pcx",
"^/fotogalerias/(.*)\.PCX$" => "http://cdn.server.com/fotogalerias/$1.PCX"
)