curl problem or permalinks

You need to add: Options +FollowSymLinks

It’s often but not always enabled in most hosting environments. We have a server that has it off by default for PCI compliance.