I've set up a staging server for an existing EE2 website, when I make changes to templates and save most templates save ok, but when I try to save a template that has an EE query tag, I get the following error and it fails to save: 'You don't have permission to access /system/index.php on this server.'
If I remove the query tag, it saves with no problems.