It would be best to use mod_rewrite.

If you do not have access to the server to add this ISAPI filter. Then you
can write this in code, but as people have been saying is that the url needs
to be parsed, that means the SES friendly option can be a specific format or
you can store them as name value pairs to be parsed back to CF variables.

For an example, Rays Blog CFC is a good example on it being done via code,
but Ray uses a specific format for that to occur. But this means that all
links need to be turned into SES friendly link as well.



On 6/16/07, J.J. Merrick <[EMAIL PROTECTED]> wrote:
>
> The way you could do that is using MOD_REWRITE with apache. That is how
> most
> languages deal with these kind of URL's. Essentially you use a Regular
> Expression to "rewrite" the string into something like
> www.mydomain.com/url/variable into
> www.mydomain.com/index.cfm?url=variableetc. etc.
>
> I've done this since i think it looks cool and nobody can tell I am using
> CF
> which is always funny to me.
>
> J.J.
>
> On 6/15/07, Tom McNeer <[EMAIL PROTECTED]> wrote:
> >
> > Matt,
> >
> > The point folks are trying to make here is that, while you keep
> referring
> > to
> > a "url variable," there are no URL variables in the URL string you
> quoted
> > --
> > not in the sense that ColdFusion (or other scripting languages, for that
> > matter) recognize URL variables.
> >
> > We understand that the value you're trying to access is within that URL
> > string. And all folks are saying is, you have to parse the URL string,
> > which
> > you can access from a CGI variable.
> >
> > Suggestion: put <cfdump var="#cgi#" /> in your default page, and look at
> > the
> > variables and values that are passed. Pick the appropriate one, then
> code
> > a
> > way to parse out the values you're looking for.
> >
> >
> > --
> > Thanks,
> >
> > Tom
> >
> > Tom McNeer
> > MediumCool
> > http://www.mediumcool.com
> > 1735 Johnson Road NE
> > Atlanta, GA 30306
> > 404.589.0560
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281359
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to