Railo Frameworks within Subfolders - file not found
I use coldbox, and I am just now looking at using Railo with tomcat on Linux. I have a development machine where I am loading different test cases into a single web root. For example
/contentBoxTest/
/TestIntranetSite/
/TestPublicSite/
The main handler worked, but all subsequent handler's failed, including modules.
I found out that Railo/Tomcat doesn't have the greatest wildcard processor for handling frameworks with SES. for example /contentBoxTest/index.cfm/help/me
So I found that for each subfolder that we want the index.cfm to be processed in a SES way, we have to add a line to the configuration file.
For mine, a default install the config file is located at
/opt/railo/tomcat/conf/web.xml
there is a structure within the xml file with within it
mine now looks like this
GlobalCFMLServlet
*.cfm
*.cfml
*.cfc
/index.cfm/*
/default.cfm/*
/post.cfm/*
/archive.cfm/*
/blog.cfm/*
/page.cfm/*
/rewrite.cfm/*
/TestPublicSite/index.cfm/*
/TestIntranetSite/index.cfm/*
/contentBoxTest/index.cfm/*
/contentBoxTest/
/TestIntranetSite/
/TestPublicSite/
The main handler worked, but all subsequent handler's failed, including modules.
I found out that Railo/Tomcat doesn't have the greatest wildcard processor for handling frameworks with SES. for example /contentBoxTest/index.cfm/help/me
So I found that for each subfolder that we want the index.cfm to be processed in a SES way, we have to add a line to the configuration file.
For mine, a default install the config file is located at
/opt/railo/tomcat/conf/web.xml
there is a
mine now looks like this
Comments
Post a Comment