Aaron DeRenard
12/12/2022, 3:51 PMgknight
12/12/2022, 5:09 PM"web":{
"rewrites":{
"enable":"true"
},
"http":{
"port":"5051"
},
"AJP":{
"enable":"true",
"port":"8051"
}
}
gknight
12/12/2022, 5:10 PM<Settings>
<Server>localhost</Server>
<Port>8051</Port>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<EnableHeaderDataSupport>False</EnableHeaderDataSupport>
<ForceSecureSession>False</ForceSecureSession>
<AllowEmptyHeaders>False</AllowEmptyHeaders>
<ResolveRemoteAddrFrom>HTTP_X_FORWARDED_FOR</ResolveRemoteAddrFrom>
</Settings>
gknight
12/12/2022, 5:12 PM<handlers>
<add name="BonCode-Tomcat-CFC-Handler" path="*.cfc" verb="*" type="BonCodeIIS.BonCodeCallHandler" preCondition="integratedMode" />
<add name="BonCode-Tomcat-CFM-Handler" path="*.cfm" verb="*" type="BonCodeIIS.BonCodeCallHandler" preCondition="integratedMode" />
</handlers>
bdw429s
12/12/2022, 6:33 PMbdw429s
12/12/2022, 6:34 PMbdw429s
12/12/2022, 6:35 PMbdw429s
12/12/2022, 6:35 PMbdw429s
12/12/2022, 6:36 PMbdw429s
12/12/2022, 6:37 PMbdw429s
12/12/2022, 6:39 PMThat got me where BonCode was connecting to Tomcat.to be clear, CommandBox does NOT use Tomcat. BonCode has sloppy documentation and it uses the phrase "Tomcat" where it should say "AJP-capable servlet container of your choice" 🙂
bdw429s
12/12/2022, 6:41 PMbdw429s
12/12/2022, 6:41 PMbdw429s
12/12/2022, 6:43 PMWhat was missing though is the secret key for the ghostcat updateTo be clear, CommandBox's AJP listener does not enforce an AJP secret by default, so the lack of one being configured should not have caused any issues.
bdw429s
12/12/2022, 6:44 PM