I have been having a problem where I am suddenly loading blank pages on a site that was working several days ago. Over those few days, I had made many changes to the site so I was sure it was some mistake I made. But tracking back through my revisions, I found the issue.
As we know, BonCodeAJP13.settings now has <ModCFMLSecret>{string}</ModCFMLSecret>, and that should be added to the Mod_CFML valve (in server.xml) as: sharedKey="{string}".
So my BonCodeAJP13.settings file looks like this:
<Settings>
<Port>8009</Port>
<Server>localhost</Server>
<MaxConnections>200</MaxConnections>
<LogLevel>0</LogLevel>
<LogDir>c:\temp</LogDir>
<FlushThreshold>0</FlushThreshold>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<ModCFMLSecret>{myString}</ModCFMLSecret>
</Settings>
<Valve className="mod_cfml.core"
loggingEnabled="false"
maxContexts="200"
timeBetweenContexts="2000"
scanClassPaths="false"
sharedKey="{myString}"
/>
Next, the BonCode manual says that we also need to set: EnableHeaderDataSupport=True
So now my BonCode settings looks like this:
<Settings>
<Port>8009</Port>
<Server>localhost</Server>
<MaxConnections>200</MaxConnections>
<LogLevel>0</LogLevel>
<LogDir>c:\temp</LogDir>
<FlushThreshold>0</FlushThreshold>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<EnableHeaderDataSupport>True</EnableHeaderDataSupport>
<ModCFMLSecret>{myString}</ModCFMLSecret>
</Settings>
So far, so good.
Next, the manual says that our shared secret also needs to be added to the connector like this:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" requiredSecret="{myString}" />
And here is the issue: When I add the requiredSecret to the <connector> all I get are blank pages in the browser.
But if I remove that requiredSecret, the pages load fine.
Am I doing something wrong, or has something changed since the Manual was written?
Thanks,
-RR