Thanks MrToad

the post of Matt work properly in my dev environment Vista/Tomcat
but in my production environment Linux CentOS Apache/Tomcat doesn't
work

in my production environment I use the installer from Jordan of
Viviotech

I modify the main web.xml since the installer's instance of OpenBD is
not installed as a WAR file, it doesn't have it's own web.xml file, it
uses tomcat's default web.xml file.

into the web.xml I copy the missing part into it.

even reboot the server to be sure everything will be taken and still
the same error.

Thanks in advance
Pierre-Olivier

On Mar 6, 3:39 am, MrToad <[email protected]> wrote:
> On Mar 3, 10:28 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > Hi I'm trying to install Blog CFC on OpenBD.
>
> > So far I figure out I was having to comment some part where Ray was
> > making the verification of the version of CF or BlueDragon.
> > And also where he uses the application.isColdFusionMX7 to comment it
>
> > The big issue I have right now it's with the tag cfloginuser looks
> > like it doesn't return something properly because in the blog.cfc all
> > the function with the roles="admin" aren't executed. I always have the
> > error user not defined.
>
> > If I remove the roles="admin" of all the cffunction I can go a bit
> > further except when they use the function getAuthUser() it return an
> > empty string.
>
> > After it will I think to find the good RewriteRule for it to display
> > the post with the comments.
>
> > I'm using OpenBD 1.0.1
> > BlogCFC 5.9.2
> > Linux/CentOS
> > Apache/Tomcat
>
> > Thanks for any guidance to install it.
>
> > PO
>
> About the rewrite rule - if you're dealing with the issue I think you
> are, you don't need a rewrite rule, just need to enable the
> SearchEngineFriendlyURLFilter in OpenBD as Matt discusses here:
>
> http://groups.google.com/group/openbd/browse_thread/thread/30068477da...
>
> For folks running the OpenBD+Jetty "Ready2Run" version who don't
> *have* a web.xml, trying adding this to your /jettyhome/etc/
> webdefault.xml file:
>
> <filter>
>     <filter-name>SearchEngineFriendlyURLFilter</filter-name>
>     <display-name>SearchEngineFriendlyURLFilter</display-name>
>     <description>SearchEngineFriendlyURLFilter</description>
>     <filter-
> class>com.newatlanta.filters.SearchEngineFriendlyURLFilter</filter-
> class>
>     <init-param>
>         <param-name>extensions</param-name>
>         <param-value>cfm,cfml</param-value>
>     </init-param>
> </filter>
> <filter-mapping>
>     <filter-name>SearchEngineFriendlyURLFilter</filter-name>
>     <url-pattern>/*</url-pattern>
> </filter-mapping>
>
> Props to Matt for helping me find this by pointing me to a post by
> "TheDudeAbides" for a longer, slightly different version that led me
> to this short fix.
>
> --
> MrToad, a.k.a. Scott Schug

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to