Brett No its not like that
You write www.domain.com/index.cfm?section=22 as www.domain.com/somesection you don't need the index.cfm at all I use it on my cfcentral.com.au site Its not too bad I believe farcry also use it Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Payne-Rhodes Sent: Friday, January 14, 2005 6:06 PM To: CFAussie Mailing List Subject: [cfaussie] Re: 'Memeroable' URLs Hi Steve, I think I've already got 'friendly' URLs covered, assuming that http://domain.com/index.cfm/pageid is considered 'friendly'... What I mean by memorable is to remove the 'index.cfm' and just have http://domain.com/pageid but still have the request processed through index.cfm. That URL results in a 404 error and I've been able to handle that by redirecting the error to index.cfm but the problem is that the redirect doesn't include the 'pageid'. I'm looking at mod_rewrite as an option but it is all a bit cryptic... Thanks, Brett B) Steve Onnis wrote: > Spike has already developed a "friendly URL" servlet for CFMX > > Check it out > > www.spike.org I think > > Steve > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett > Payne-Rhodes > Sent: Friday, January 14, 2005 2:18 PM > To: CFAussie Mailing List > Subject: [cfaussie] Re: 'Memeroable' URLs > > Hi Jon, > > I did find 'rewrite' but I'm not much chop as far as regex goes. And I'm > probably going to add an 'errorDocument' directive in any case so if I > can just get to the original URL somehow that will help me solve two > problems in one go... > > Thanks, > > Brett > B) > > Jon Austin wrote: > >>That seems like a bit of an ugly solution to me. I would think some >>URL rewrite rulesets would do it. >> >>As for what rules, I have no idea. :) >> >>On Fri, 14 Jan 2005 10:56:47 +0800, Brett Payne-Rhodes <[EMAIL PROTECTED]> >>wrote: >> >> >>>I thought that was a great idea so I set out this morning to work out >>>how to do it. The solution (I think) is in the webserver configuration >>>(Apache in this case) and I've added an 'ErrorDocument' directive for >>>404 errors that points to index.cfm... The redirection works OK but my >>>problem is in accessing the original URL, or at least the 'pagename' >>>part of it, which doesn't appear anywhere in the CGI info... >> >> >>--- >>You are currently subscribed to cfaussie as: [EMAIL PROTECTED] >>To unsubscribe send a blank email to [EMAIL PROTECTED] >>Aussie Macromedia Developers: http://lists.daemon.com.au/ >> > > -- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 f: +61 (0)8 9371-0470 m: +61 (0)414 371 047 e: [EMAIL PROTECTED] w: www.ehc.net.au --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
