Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I was trying to troubleshoot a live site and I really don't want to show the dump to the world. Is there a way to restrict the display to only an internal IP or via some other method?
Hi Connie,
Yes - you can do that; The easiest way would be to find the line in the XMLDump.xslt file that says:
<xsl:variablename="xmldumpAllowed"select="boolean($currentPage/ancestor-or-self::*[xmldumpAllowed = 1] | $currentPage/ancestor-or-self::node[data[@alias = 'xmldumpAllowed'] = 1])"/>
- and make your own logic for setting it to true(), e.g. something like:
<xsl:variablename="xmldumpAllowed"select="boolean(umb:RequestServerVariables('REMOTE_ADDR') = '10.0.0.1')"/>
/Chriztian
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Restrict display via IP or other???
I was trying to troubleshoot a live site and I really don't want to show the dump to the world. Is there a way to restrict the display to only an internal IP or via some other method?
Hi Connie,
Yes - you can do that; The easiest way would be to find the line in the XMLDump.xslt file that says:
- and make your own logic for setting it to true(), e.g. something like:
/Chriztian
is working on a reply...