Greg's Blog

helping me remember what I figure out

Tentatively Back to BlueDragon

| Comments

I have reverted back to BlueDragon (and it’s been ticking over for the last week or so), this time running the latest beta. Furthermore I compiled Apache 2 from source and I am glad to report that so far even though new threads are still being created, this time they do seem to get killed again. The only problem I encountered when migrating the code base was with the ExpandPath() function. For some strange reason it didn’t like variables so while this is being resolved I specified the full path to the mach-ii application config folder and removed the ExpandPath function. UPDATE After a little digging and with some help from people on the mailing list I ran the following test code: [code]Request.apppath=#request.appPath# ExpandPath(“#request.appPath#”)=#ExpandPath(“#request.appPath#”)# ExpandPath(“#request.appPath#config/mach-ii.xml”)=#ExpandPath(“#request.appPath#config/mach-ii.xml”)#[/code] Which returned: [code]Request.apppath=../../webapps/gregs/ ExpandPath(“#request.appPath#”)=[per-dir %s] initial URL equal rewritten URL: %s [IGNORING REWRITE]/ ExpandPath(“#request.appPath#config/mach-ii.xml”)=���)a�9%/mach-ii.xml[/code] Looks like there are some mod_rewrite shenanigans going on. Once I know more I’ll be sure to post it. Charlie Arehart did also confirm that there was something curious going on here as he ran a number of test cases against both cfmx and BD (6.1 and 6.2).