Hi Sam, very weird all this stuff. But the dev post you've mentioned
could help. Here is what I would try first:
1. Set apaches2 logging in the httpd.config to "LogLevel debug" and
see what the error.log outputs first, maybe this can help you
tacle/isolate the problem.
2. Try ditching AJP first, and proxy reverse. You need to have
mod_proxy enabled, but you know that already. Here are the settings
apaches2 gets from the Lucee Linux installer (as you can see, it
hasn't AJP enabled).
<IfModule mod_proxy.c>
ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2
# optional mappings
#ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1
#ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch ^/flashservices/gateway(.*)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/
</IfModule>
Then you can run a commandbox server instance with a fixed port 8888.
It could be set not to be allowed.
3. Also look in your apache2 configuration if overriding with
.htaccess is allowed ( AllowOverride All) for the directory you are
having the .htaccess file.
The URLRewrite should always work in the front end webserver, not
commandbox and not Lucee/Tomcat. Setting it up in commandbox or
Lucee/Tomcat is when you have no webserver set up in front.
That all should be a quick try. After that I really don't know what
else to say. Wish you best luck!