Preheat the oven to 200 °. Cook the rigatoni al dente in plenty of salted water.
Heat the oil in a pan and fry the crushed garlic in it for 1 minute. Add the tomatoes and oregano, bring the sauce to a boil and simmer for about 15 minutes until it has thickened a little. Season to taste with salt and pepper. Set aside 6 tablespoons of sauce. Mix the remaining sauce with the pasta.
Fill a greased baking dish (30 x 20 x 5 cm) with half of the pasta mixture. Spread half of the mozzarella slices and the parmesan on top. Pour the remaining pasta into the mold and brush with the pasta sauce that you have set aside. Spread the remaining mozzarella slices on top and sprinkle the parmesan on top. Baked for about 15 minutes.