Oh, whoops, you're absolutely right. I totally missed that closing tag. Hmm... will have to research this a bit more...
Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider MrToad wrote: > No, he's got the </filter>, Jordan...it's right before that <filter- > mapping> block. Just easy to miss because Pierre's indentation is > inconsistent (like I'm one to to say anything, with my word- > wrapping...OOPS!). But Pierre doesn't have any word-wrapping in what > he posted, and I double-checked and aside from the indentation, it's > identical with what I've got in my webdefault.xml file that worked for > me on OpenBD "Ready2Run". > > I really know nothing about what I'm doing here; like a medieval > alchemist, I just managed to find something to mix together that > worked. I do recall though that while I was Googling for answers to > the SES URL problem, I came across a few posts about problems with SES > URLs in Tomcat that didn't seem related to what I was looking for. > > Given that Pierre said this code worked for him on his Vista/Tomcat > dev environment, it sounds like he's got something else going on; > maybe the problem those folks were having? Wish I could remember now > what they were reporting. > > The one thing I didn't mention above was that I put mine right > *before* the closing </web-app> tag at the end of the file; as I told > Matt when we were e-mailing, I'm a total newbie with Java and XML, but > I've worked with HTML and CFML enough to tell that it needed to be > inside the <web-app></web-app> block. > > > -- > MrToad, a.k.a. Scott Schug > > > On Mar 6, 11:55 am, Jordan Michaels <[email protected]> wrote: >> How about a closing filter tag? >> >> change this: >> >> <filter-mapping> >> <filter-name>SearchEngineFriendlyURLFilter</filter-name> >> <url-pattern>/*</url-pattern> >> </filter-mapping> >> <!-- End add--> >> >> to this: >> >> <filter-mapping> >> <filter-name>SearchEngineFriendlyURLFilter</filter-name> >> <url-pattern>/*</url-pattern> >> </filter-mapping> >> </filter> >> <!-- End add--> >> >> Then a restart. Let us know how it works out... >> >> Hope this helps! >> >> Warm regards, >> Jordan Michaels >> Vivio Technologieshttp://www.viviotech.net/ >> Open BlueDragon Steering Committee >> Adobe Solution Provider >> >> Pierre-Olivier Chassay wrote: >>> Hi Jordan >>> What I copy into /opt/openbd/tomcat/conf/web.xml >>> it's that >>> I put it on starting at the line 267 >>> <!-- Add PO --> >>> <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> >>> <!-- End add--> >>> I took that code from the post of Matt. >>> Jordan Michaels wrote: >>>> Pierre-Olivier, >>>> It looks like the XML that MrToad posted is word-wrapped a bit. Could >>>> you make sure that this didn't translate over to return characters when >>>> copied and pasted into the web.xml file? >>>> Let us know the result. >>>> HTH >>>> Warm regards, >>>> Jordan Michaels >>>> Vivio Technologies >>>> http://www.viviotech.net/ >>>> Open BlueDragon Steering Committee >>>> Adobe Solution Provider >>>> Pierre-Olivier Chassay wrote: >>>>> Thanks Mr Toad, >>>>> It works on my dev environment Vista/Tomcat where I deploy directly the >>>>> war file of openBD >>>>> But it doesn't work on my production environment Linux CentOS / Apache / >>>>> Tomcat with the installer of Jordan. >>>>> In the production envrionment we don't have a real 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. >>>>> I copy the missing part into it and restart the server to be sure >>>>> everything will be clean but it doesn't work. >>>>> Regards, >>>>> PO >>>>> On Fri, Mar 6, 2009 at 3:39 AM, MrToad <[email protected] >>>>> <mailto:[email protected]>> wrote: >>>>> On Mar 3, 10:28 am, "[email protected] >>>>> <mailto:[email protected]>" <[email protected] >>>>> <mailto:[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 !! -~----------~----~----~----~------~----~------~--~---
