Skip to content

Instantly share code, notes, and snippets.

@cliffano
Last active June 8, 2018 07:27
Show Gist options
  • Save cliffano/fc066962f9c4c22c63efede447011e18 to your computer and use it in GitHub Desktop.
Save cliffano/fc066962f9c4c22c63efede447011e18 to your computer and use it in GitHub Desktop.
Enable CRXDE outputs AEM 6.2, 6.3, 6.4
Based on https://helpx.adobe.com/experience-manager/6-4/sites/administering/using/enabling-crxde-lite.html
================================================================================================
AEM 6.3 and AEM 6.2
================================================================================================
[aem-6.3] curl -u admin:admin -F "jcr:primaryType=sling:OsgiConfig" -F "alias=/crx/server" -F "dav.create-absolute-uri=true" -F "dav.create-absolute-uri@TypeHint=Boolean" http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet
<html>
<head>
<title>Content created /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet</title>
</head>
<body>
<h1>Content created /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet</h1>
<table>
<tbody>
<tr>
<td>Status</td>
<td><div id="Status">201</div></td>
</tr>
<tr>
<td>Message</td>
<td><div id="Message">Created</div></td>
</tr>
<tr>
<td>Location</td>
<td><a href="/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet" id="Location">/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet</a></td>
</tr>
<tr>
<td>Parent Location</td>
<td><a href="/apps/system/config" id="ParentLocation">/apps/system/config</a></td>
</tr>
<tr>
<td>Path</td>
<td><div id="Path">/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet</div></td>
</tr>
<tr>
<td>Referer</td>
<td><div id="Referer"></div></td>
</tr>
<tr>
<td>ChangeLog</td>
<td><div id="ChangeLog">&lt;pre&gt;created(&quot;/apps/system/config&quot;);&lt;br/&gt;created(&quot;/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet&quot;);&lt;br/&gt;modified(&quot;/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet/alias&quot;);&lt;br/&gt;modified(&quot;/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet/dav.create-absolute-uri&quot;);&lt;br/&gt;&lt;/pre&gt;</div></td>
</tr>
</tbody>
</table>
<p><a href="/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet">Modified Resource</a></p>
<p><a href="/apps/system/config">Parent of Modified Resource</a></p>
</body>
================================================================================================
AEM 6.4
================================================================================================
[aem-6.4] curl -u admin:admin -F "jcr:primaryType=sling:OsgiConfig" -F "alias=/crx/server" -F "dav.create-absolute-uri=true" -F "dav.create-absolute-uri@TypeHint=Boolean" http:/ost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet
<html>
<head>
<title>Content modified /apps/system/config/org</title>
</head>
<body>
<h1>Content modified /apps/system/config/org</h1>
<table>
<tbody>
<tr>
<td>Status</td>
<td><div id="Status">200</div></td>
</tr>
<tr>
<td>Message</td>
<td><div id="Message">OK</div></td>
</tr>
<tr>
<td>Location</td>
<td><a href="/apps/system/config/org" id="Location">/apps/system/config/org</a></td>
</tr>
<tr>
<td>Parent Location</td>
<td><a href="/apps/system/config" id="ParentLocation">/apps/system/config</a></td>
</tr>
<tr>
<td>Path</td>
<td><div id="Path">/apps/system/config/org</div></td>
</tr>
<tr>
<td>Referer</td>
<td><div id="Referer"></div></td>
</tr>
<tr>
<td>ChangeLog</td>
<td><div id="ChangeLog">&lt;pre&gt;modified(&quot;/apps/system/config/org/alias&quot;);&lt;br/&gt;modified(&quot;/apps/system/config/org/dav.create-absolute-uri&quot;);&lt;br/&gt;&lt;/pre&gt;</div></td>
</tr>
</tbody>
</table>
<p><a href="/apps/system/config/org">Modified Resource</a></p>
<p><a href="/apps/system/config">Parent of Modified Resource</a></p>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment