Adobe Aem - interface /content.xml
Good morning,
on an Adobe Aem portal when you call the url home adding “/content.xml” the Cms returns an xml of many gigabytes.
What is the “/content.xml” interface for and is it possible to block it?
Thanks
Good morning,
on an Adobe Aem portal when you call the url home adding “/content.xml” the Cms returns an xml of many gigabytes.
What is the “/content.xml” interface for and is it possible to block it?
Thanks
Hi @robertol6836527
dispatcher.any configuration file found in the conf.d directory of your Apache HTTP Server setup.
Add a Filter Rule: Add a filter rule to block requests to /content.xml. This can be done by adding the following lines to the /filter section of your dispatcher.any file:
/filter
{
...
/0001 { /type "deny" /url "/content.xml" }
...
}
Update the Apache HTTP Server Configuration
Apache configuration file named httpd.conf or located within the conf directory.
Add a URL Block: Add a directive to block access to /content.xml:
<Location "/content.xml">
Require all denied
</Location>
After making these changes restart both the Apache HTTP Server and the Dispatcher to apply the new configuration.
I did same in my last project and it is working fine
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.