"index.cfm" appearing as event arg

0 views
Skip to first unread message

Zack Pitts

unread,
May 8, 2008, 11:07:37 PM5/8/08
to mach-ii-for...@googlegroups.com
I'm trying to use Mach-II's SES URLs for the first time, and I'm getting
"index.cfm" entered as a key in the event args. Here are my URL management
properties:

<property name="urlDelimiters" value="/|/|/" />
<property name="urlBase" value="/index.cfm" />
<property name="urlParseSES" value="true" />

What could be causing this?

Thanks,

Zack

Peter J. Farrell

unread,
May 8, 2008, 11:18:12 PM5/8/08
to mach-ii-for...@googlegroups.com
Zack Pitts said the following on 5/8/2008 10:07 PM:
I'd have to see the BuildUrl() code you are using to see what is
possibly going on and the output you are getting from it. What version
of Mach-II are you using?

.pjf

Zack Pitts

unread,
May 8, 2008, 11:37:52 PM5/8/08
to mach-ii-for...@googlegroups.com
I'm not calling BuildUrl(). All I'm doing is looking at the Event Queue
(plug-in), and it shows

ARGS
EVENT = test
index.cfm = [empty string]

I grabbed this instance of Mach-II from the SVN link for 1.5:

Mach-II Version 1.5.0 Bleeding Edge Release - Unknown build

Zack

pjf

Peter J. Farrell

unread,
May 8, 2008, 11:48:24 PM5/8/08
to mach-ii-for...@googlegroups.com
Mach-II 1.5 was released as stable in November 2007.  I'm sure that is some bugs in the BER (as with any alpha releases) and it's clear you have an unknown build.  Use the stable release.

http://www.mach-ii.com/code/MachII_1-5-0.zip

Peter

Zack Pitts said the following on 5/8/2008 10:37 PM:

Zack Pitts

unread,
May 9, 2008, 12:11:27 AM5/9/08
to mach-ii-for...@googlegroups.com

I updated with the stable release (now showing 1.5.0 Development and Production Stable (non-duck typed core)), but I get the same result.

 

It is happening whenever I browse the root of the site (no path, file, or query string), and any time I specify “index.cfm” in the path (non-SES).  But when I browse an SES URL, it does not appear in the args.

 

Zack

Peter J. Farrell

unread,
May 9, 2008, 12:47:02 AM5/9/08
to mach-ii-for...@googlegroups.com
Zack Pitts said the following on 5/8/2008 11:11 PM:

I updated with the stable release (now showing 1.5.0 Development and Production Stable (non-duck typed core)), but I get the same result.

Ah, you didn't specify the next part...

It is happening whenever I browse the root of the site (no path, file, or query string), and any time I specify “index.cfm” in the path (non-SES).  But when I browse an SES URL, it does not appear in the args.

I am failing to reproduce getting "index.cfm" in the Even when there is no path + file or query string). Example:

http://m2harness

I am failing to reproduce this behavior with a url like this (even with SES on):
http://m2harness/index.cfm?event=home

It sounds like you have something like in going on:
http://m2harness/index.cfm/event/reloadApp/index.cfm/event/home/index.cfm/event/home/

Which would make what you describing to happen.

.pjf

Peter J. Farrell

unread,
May 9, 2008, 1:02:55 AM5/9/08
to mach-ii-for...@googlegroups.com
FYI, this describes the strange stuff you are seeing:
http://greatbiztoolsllc-trac.cvsdude.com/mach-ii/wiki/URLManagementFeatures#HowToDoSearchEngineSafeFriendlyURLs

It's really not a Mach-II problem -- it how paths works in the web world and what is available to use in the cgi.PATH_INFO variable (I bet if you dump this variable - you'll see all the strangeness you are seeing).

.pjf

Peter J. Farrell said the following on 5/8/2008 11:47 PM:
Reply all
Reply to author
Forward
0 new messages