I am setting up a new server and running into issues with getting things working 100%. Looking for some configuration help with the 64-bit install from the website.
I installed the software using the install from the
lucee.org site and the site will load if I go to the site using
http://domain.com/index.cfm?id=#####, but I can not get to the site by going to
http://domain.com/index.cfm/home/default/id/##### even though the following rules are in the web.xml file.
<!-- Mappings for the Railo servlet -->
<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>*.cfm</url-pattern>
<url-pattern>*.cfml</url-pattern>
<url-pattern>*.cfc</url-pattern>
<!-- Basic SES Mappings -->
<url-pattern>/index.cfc/*</url-pattern>
<url-pattern>/index.cfm/*</url-pattern>
<url-pattern>/index.cfml/*</url-pattern>
</servlet-mapping>
I get this in the Apache Error_Log.
[Thu Mar 19 22:22:37.763260 2015] [authz_core:debug] [pid 16058] mod_authz_core.c(835): [client
216.8.220.73:54541] AH01628: authorization result: granted (no directives), referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.763431 2015] [proxy:debug] [pid 16058] mod_proxy.c(1117): [client
216.8.220.73:54541] AH01143: Running scheme ajp handler (attempt 0), referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.763629 2015] [proxy_ajp:debug] [pid 16058] mod_proxy_ajp.c(718): [client
216.8.220.73:54541] AH00895: serving URL ajp://
10.1.0.50/home/index.cfm/obituaries/default/fh_id/10273, referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.763674 2015] [proxy:debug] [pid 16058] proxy_util.c(2200): AH00942: AJP: has acquired connection for (*)
[Thu Mar 19 22:22:37.763687 2015] [proxy:debug] [pid 16058] proxy_util.c(2253): [client
216.8.220.73:54541] AH00944: connecting ajp://
10.1.0.50/home/index.cfm/obituaries/default/fh_id/10273 to
10.1.0.50:8009, referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.763823 2015] [proxy:debug] [pid 16058] proxy_util.c(2419): [client
216.8.220.73:54541] AH00947: connected /home/index.cfm/obituaries/default/fh_id/10273 to
10.1.0.50:8009, referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.764082 2015] [proxy_ajp:debug] [pid 16058] mod_proxy_ajp.c(272): [client
216.8.220.73:54541] AH00872: APR_BUCKET_IS_EOS, referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.764116 2015] [proxy_ajp:debug] [pid 16058] mod_proxy_ajp.c(278): [client
216.8.220.73:54541] AH00873: data to read (max 8186 at 4), referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.764127 2015] [proxy_ajp:debug] [pid 16058] mod_proxy_ajp.c(292): [client
216.8.220.73:54541] AH00875: got 0 bytes of data, referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.767642 2015] [proxy_ajp:debug] [pid 16058] mod_proxy_ajp.c(630): [client
216.8.220.73:54541] AH00892: got response from (null) (*), referer:
http://domain.com/home/index.cfm?fh_id=10273[Thu Mar 19 22:22:37.767679 2015] [proxy:debug] [pid 16058] proxy_util.c(2215): AH00943: AJP: has released connection for (*)
Http.conf has this...
<IfModule mod_proxy.c>
<Proxy *>
Allow from 10.1.0.50
</Proxy>
ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://
10.1.0.50:8009/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ ajp://
10.1.0.50:8009/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ ajp://
10.1.0.50:8009/$1$2 ProxyPassMatch /(.*)\.(jpg|gif|png|jpeg|swf|mp4|wmv)$ !
# 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 / ajp://
10.1.0.50:8009/</IfModule>
PerlRequire /opt/lucee/tomcat_connectors/mod_cfml/
mod_cfml.pmPerlHeaderParserHandler mod_cfml
PerlSetVar LogHeaders false
PerlSetVar LogHandlers false
PerlSetVar CFMLHandlers ".cfm .cfc .cfml"