Awesome -- that worked! Here is a summary for future generations.
Thanks to everyone for their assistance.
* The following servlet mappings (after my bullet lists here) already
exist in the tomcat/conf/web.xml file when using the VivioTech
installer.
* Though /index.cfm/* exists, I don't think it was taking effect
because my blog is in the /blog/ folder (IS THIS CORRECT that you must
specify subfolders?).
* Per Todd's suggestion, I created a web.xml file in the WEB-INF
folder under my domain folder, added the entries similar to his
listing (note that "GlobalCFMLServlet" is the name of the servlet
created by the VivioTech installer). File with my changes listed
below.
===DEFAULT MAPPINGS IN MAIN TOMCAT web.xml FILE (I didn't change
this)===
<servlet-mapping>
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>*.cfm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>/index.cfm/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>*.cfml</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>*.cfc</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GlobalAMFServlet</servlet-name>
<url-pattern>/flashservices/gateway/*</url-pattern>
</servlet-mapping>
===NEW web.xml FILE IN DOMAIN FOLDER===
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>/blog/index.cfm/*</url-pattern>
<url-pattern>/blog/page.cfm/*</url-pattern>
<url-pattern>/blog/print.cfm/*</url-pattern>
<url-pattern>/blog/rss.cfm/*</url-pattern>
<url-pattern>/blog/slideshow.cfm/*</url-pattern>
</servlet-mapping>
</web-app>
On Jan 4, 9:36 am, Todd Rafferty <
t...@getrailo.org> wrote:
> Just to explain what the difference is between the two web.xml files:
>
> * If you want Tomcat to handle the url-pattern is globally (in case you have
> many many blogcfcs on your server), then you want to put it in the tomcat's
> main conf/web.xml (look for the appropriate spot to put it in and you're
> done and never have to touch it again)
>
> * If you're like me and you prefer your stuff to be on a context by context
> basis, then you put it in the WEB-INF/web.xml (exactly as I had it below)
>
> --
> ~Todd Rafferty ** Volunteer Railo Open Source Community Manager **
http://getrailo.org/
>
>
>
>
>
>
>
> On Tue, Jan 4, 2011 at 9:22 AM, Eric Cobb <
railot...@ecartech.com> wrote:
> > Yeah, I just got my blogCFC up and running on Railo/Tomcat a few weeks
> > ago, and I think I had to add these to the web.xml file to make everything
> > work.:
>
> > <url-pattern>/index.cfm/*</url-pattern>
> > <url-pattern>/page.cfm/*</url-pattern>
>
> > Thanks,
>
> > Eric Cobb
> > ECAR Technologies, LLChttp://www.ecartech.comhttp://
www.cfgears.com
>
> > On 1/4/2011 8:16 AM, Todd Rafferty wrote:
>
> > Doing some basic searches on google this is one of your pieces:
>
> > <url-pattern>/index.cfm/*</url-pattern>
>
> > The <servlet-name> can be found in the Tomcat / conf directory, there's a
> > web.xml - search for <servlet-name> -- then follow the instructions as I
> > listed below.
>