I hope I'm asking this question in the right place?

I've just migrated two sites to a new server, one running Drupal 5.23 with contemplate 5.x-2.04, the other Drupal 6.20 with contemplate 6.x-1.2.

The sites are working fine, with pages displaying as expected, posts being made etc but when I try to edit a content template in either installation I get a 500 server error. Has anyone experienced a similar issue, or can give me some clues where I should be looking?

I know this isn't a problem with contemplate per se, but it seems to be the only module that hasn't survived the migration (unless I've missed something) and re-uploading the source hasn't helped.

Cheers
BP

Comments

blackpudding’s picture

OK, so I think I found the error - mod-security rules

I added the following rule to the mod-security config which has fixed my issue

#drupal exclusion rule
<LocationMatch "/admin/content/node-type/*">
  SecRuleRemoveById 300013
  SecRuleRemoveById 300016
</LocationMatch>

<LocationMatch "/admin/content/templates/*">
  SecRuleRemoveById 300013
  SecRuleRemoveById 300016
</LocationMatch>