405 Method DELETE not supported (AEM 6.3 SP2)
I need to clean a publish instance of several large assets and have done so on author by generating a list and deleting with cURL commands like:
curl -u admin:admin -X DELETE "http://localhost:4503/content/dam/abc/def/images/shirts.png"
it works on author but on publish, the result is the following ...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>405 Method DELETE not supported</title></head>
<body>
<h1>Method DELETE not supported</h1>
<p>Cannot serve request to /content/dam/abc/def/images/shirts.png on this server</p>
<hr>
<address>Apache Sling</address>
</body>
</html>
The admin account is in the administrators group on the publish instance. I've tried cURL with admin and with a different privileged user on the publish instance, each appear to have all (including delete) permissions on the nodes in question.
I've enabled crxde on this publish instance.
Is there some place I must configure to allow the DELETE method?
Once I can delete these, I know garbage collection will ultimately reclaim the space.
Thanks.