after server upgrade, if I enable custom permalinks, my /feed stops working

WordPress writes url rewriting rules to the .htaccess file, but apache will only use the .htaccess file if AllowOverrides is allowed for the directory where the .htaccess is located.

I enabled it by setting AllowOverride All in the virtualhost configuration, and my permalinks are now working again.