How to find the current run mode of working AEM instance

Statement - Find the current run mode
Environment - AEM 6.3 GA

Solution :


Apache Sling Settings

Sling ID = b6e06f32-20a1-4fa0-869d-7a79828234234ed
Sling Name = Instance dfg43543-20a1-4fa0-869d-7a34234ded
Sling Description = Instance with id  dfg43543-20a1-4fa0-869d-7a34234ded 
run modes [crx3, author, samplecontent, crx3tar]
Sling Home = D:\AEM 6.3\crx-quickstart
Sling Home URL = file:/D:/AEM%206.3/crx-quickstart/
Run Modes = [crx3, author, samplecontent, crx3tar]
  • That's it!

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!