How to find Current Apache Sling Rewriter Configuration in AEM through Felix console

Statement - Apache Sling rewrite configuration
Environment - AEM 6.3 GA

Solution :


 Current Apache Sling Rewriter Configuration
=================================================================
Active Configurations
-----------------------------------------------------------------
Configuration hybrid-app

Name : hybrid-app
Content Types : [text/html]
Paths : [/content/phonegap, /content/mobileapps, /content/campaigns]
Order : 1001
Active : true
Valid : true
Process Error Response : true
Pipeline : 
    Generator : 
        htmlparser : {includeTags=[Ljava.lang.String;@67735c8d}
    Transformers : 
        linkchecker
        contentsync : {component-optional=true}
        hybridapp : {component-optional=true}
        mobileappscampaign : {component-optional=true}
    Serializer : 
        htmlwriter
Resource path: /libs/mobileapps/config/rewriter/hybrid-app


Configuration campaign-link-rewrite

Name : campaign-link-rewrite
Content Types : [text/html]
Resource Types : [mcm/campaign/components/newsletter, 
mcm/neolane/components/newsletter, mcm/campaign/components/campaign_newsletterpage]
Order : 1000
Active : true
Valid : true
Process Error Response : true
Pipeline : 
    Generator : 
        htmlparser : {includeTags=[Ljava.lang.String;@14f0e58b}
    Transformers : 
        campaign-link-rewrite : {component-optional=true}
    Serializer : 
        htmlwriter
Resource path: /libs/mcm/config/rewriter/campaign-link-rewrite


Configuration cfm

Name : cfm
Content Types : [text/html]
Resource Types : [dam/cfm/components/contentfragment]
Selectors : [rawcontent]
Order : 1000
Active : true
Valid : true
Process Error Response : true
Pipeline : 
    Generator : 
        html-generator
    Transformers : 
        cfm-payload
        cfm-parfilter : {component-optional=false}
        cfm-assetprocessor : {component-optional=false}
    Serializer : 
        htmlwriter
Resource path: /libs/dam/config/rewriter/cfm


Configuration pdf

Name : pdf
Extensions : [pdf]
Order : 0
Active : true
Valid : true
Process Error Response : false
Pipeline : 
    Generator : 
        empty-generator
    Transformers : 
        htmlparser
        xslt : {source=sling://libs/wcm/core/content/pdf/page2fo.xsl}
    Serializer : 
        fop : {mime-type=application/pdf}
Resource path: /libs/cq/config/rewriter/pdf


Configuration default

Name : default
Content Types : [text/html]
Order : -1
Active : true
Valid : true
Process Error Response : true
Pipeline : 
    Generator : 
        htmlparser
    Transformers : 
        linkchecker
        mobile : {component-optional=true}
        mobiledebug : {component-optional=true}
        contentsync : {component-optional=true}
    Serializer : 
        htmlwriter
Resource path: /libs/cq/config/rewriter/default



  • That's it!

How to find the Sling referrer or list of host allowed to access AEM server

Statement - find the host allowed to access AEM

Environment - AEM 6.3 GA


Solution :



http://[2404:e801:3bbd:b9f9:a85b:4bcb:9f06:b7c2]:0
http://[fe80:0:0:0:a85b:4bcb:9f06:b7c2%wlan0]:0
http://127.0.0.1:0
https://[fe80:0:0:0:0:5efe:a6e:3dfd%net7]:0
http://[fe80:0:0:0:d426:6e7a:d0df:4be1%eth5]:0
https://[fe80:0:0:0:8922:102e:b1a3:2648%eth6]:0
http://[fe80:0:0:0:4586:5b8:b8f2:3bb0%eth1]:0
https://[fe80:0:0:0:a85b:4bcb:9f06:b7c2%wlan0]:0
https://[2404:e801:3bbd:b9f9:e4e3:a97b:740d:e41e]:0
https://[fe80:0:0:0:4586:5b8:b8f2:3bb0%eth1]:0
https://[fe80:0:0:0:0:5efe:c0a8:170%net5]:0
http://[fe80:0:0:0:0:5efe:c0a8:170%net5]:0
http://[0:0:0:0:0:0:0:1]:0
http://localhost:0
https://[::1]:0
https://[fe80:0:0:0:d426:6e7a:d0df:4be1%eth5]:0
https://[0:0:0:0:0:0:0:1]:0
  • That's it!

How to find the sling properties of launch pad through AEM Felix console

Statement - Find the Sling properties of launch pad.

Environment - AEM 6.3 GA


Solution :



Apache Sling Launchpad Properties : Sample properties file

ds.global.extender = true
ds.loglevel = warn
felix.bootdelegation.implicit = false
felix.cm.dir = D:\AEM 6.3\crx-quickstart\launchpad/config
felix.service.urlhandlers = true
felix.startlevel.bundle = 20
felix.webconsole.work
granite.product = Adobe Experience Manager
granite.product.version = 0.0.0.0_0_0_6_3_

org.apache.sling.commons.log.file = D:\AEM 6.3\crx-quickstart/logs/error.log
org.apache.sling.commons.log.file.number = 5
org.apache.sling.commons.log.file.size = '.'yyyy-MM-dd
org.apache.sling.commons.log.julenabled = true
org.apache.sling.commons.log.level = INFO
repository.home = D:\AEM 6.3\crx-quickstart/repository
sling.bootdelegation.ibm = com.ibm.xml.*
sling.bootdelegation.jboss = __redirected
sling.bootdelegation.jboss.__redirected = __redirected
sling.bootdelegation.sun = sun.*,com.sun.*
sling.bootdelegation.weblogic = weblogic.xml.*
sling.context.default = default
sling.fileinstall.dir = D:\AEM 6.3\crx-quickstart/install
sling.fileinstall.writeback = false
sling.framework.install.incremental = true
sling.framework.install.startlevel = 1
sling.ignoreSystemProperties = true
sling.installer.dir = D:\AEM 6.3\crx-quickstart\launchpad/installer
sling.run.mode.install.options = author,publish|crx3|crx3tar,crx3mongo,
crx3rdb,crx3mpxtar,crx3tar-nofds|samplecontent,nosamplecontent
  • That's it!