Re: [cfaussie] Digest for cfaussie@googlegroups.com - 1 Message in 1 Topic

0 views
Skip to first unread message

Daniel Punton

unread,
Dec 19, 2009, 2:17:36 AM12/19/09
to cfau...@googlegroups.com
I honesty doubt you can find one solution for both IIS and apache. That is the crux as the redirection/aliasing (rewrite) has to happen at the webserver level.
If you were only using fusebox you could of course use a plugin.
Dan

On Sat, Dec 19, 2009 at 12:13 PM, <cfaussie...@googlegroups.com> wrote:

Group: http://groups.google.com/group/cfaussie/topics

    Seona Bellamy <seo...@gmail.com> Dec 18 02:34PM +1100 ^
     
    Hi guys,
     
    I'm using my time off work to play around with some old half-finished
    projects that have been knocking around my hard-drive for a few years,
    seeing what I can bring to them with the new techniques and perspectives I
    learned in my last job. One of these projects in a half-built Fusebox 4 app
    and the issue I've been thinking about today is friendly URLs.
     
    In my last job, we used ISAPI Rewrite to handle the URL rewiring for our
    CMS. It was very effective and relatively easy to customise once you got
    your head around the syntax, but the main problem I see with it is that it's
    only feasible when you have control over the server and can make sure that
    the necessary software is installed and suchlike. (That's my understanding
    of it, anyway, so please correct me if I'm wrong!)
     
    I'm looking to create something that can be taken and uploaded to any CF
    server, including shared hosting providers, and "just work". That's the
    theory anyway. So I was thinking about ways that you could write something
    in CF to handle this. I've done some searching and the only options I can
    find are rather old (most seemed to date around 2005 as far as I could tell)
    and so I'm not sure how relevant they would still be.
     
    So is this something that anyone has done or knows of being done and can
    point me to? Is there a way to handle it in Fusebox so that you don't need
    to keep the index.cfm in the middle of the URL (as all the examples I found
    seem to do)? Am I just indulging in a pipe dream here and sound give up and
    play with something else?
     
    Any thoughts and/or suggestions would be welcome on this. I'm tired to going
    around in circles.
     
    Cheers,
     
    Seona.

     

--

You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfau...@googlegroups.com.
To unsubscribe from this group, send email to cfaussie+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.

Seona Bellamy

unread,
Dec 19, 2009, 4:40:50 AM12/19/09
to cfau...@googlegroups.com
Err... I am using Fusebox. The only plugin I can find means that you end up with a url along the lines of:

http://www.myserver.com/index.cfm/action/main.home/variable1/value1

I'm not really keen on the whole idea of having the index.cfm stuck in the middle of the URL like that - I think it looks kludgy. On the other hand, the plugin I found was a few years old. If you can point me at a more recent one that fixes this problem, then I'd be thrilled! :)

And yeah, I do get what you're saying about real rewriting needing to happen at the webserver level. That's how I've worked with it in the past but was just playing around with the idea to see fi I could find an alternative.

Thanks for your input! :)

Cheers,

Seona.

2009/12/19 Daniel Punton <comp...@gmail.com>
I honesty doubt you can find one solution for both IIS and apache. That is the crux as the redirection/aliasing (rewrite) has to happen at the webserver level.
If you were only using fusebox you could of course use a plugin.
Dan

Barry Beattie

unread,
Dec 19, 2009, 6:57:46 AM12/19/09
to cfau...@googlegroups.com
please forgive in saying so, but

"I'm not really keen on the whole idea of having the index.cfm stuck
in the middle of the URL like that - I think it looks kludgy."

does it really matter? Since when are URL's aesthetically pleasing?
look at the crap in the "address bar" of many applications - more
often than not it looks like alphabet soup.

"Friendly URL's" are a different matter: they are designed to provide
a sensible mapping between using the URL as a "name" to "content". A
la REST.

but Fusebox, esp earlier versions, are far from presenting their URL's
in a friendly, easy to remember format.

just my 2c

Seona Bellamy

unread,
Dec 19, 2009, 5:02:10 PM12/19/09
to cfau...@googlegroups.com
I see what you're saying, but I wasn't coming from it from a purely aesthetic point of view. More the fact that having a filename in the middle of what looks like a directory structure seems wrong - it makes it really clear that you're doing *something* to the URL. I was rather hoping for something that would look more like a natural URL. I just feel that it looks more professional.

But hey, maybe that's just me. I certainly don't expect everyone to share my opinion on this. :) That would be boring.

~Seona

2009/12/19 Barry Beattie <barry....@gmail.com>
Reply all
Reply to author
Forward
0 new messages