the issue there would be that the client does not continue to see
www.whatever.com/products/index.cfm
in the url, which may confuse them or upset the client.
At 10:01 AM 2/22/01 +0100, you wrote:
>I would just use a default.htm file with a client redirect:
><script language="JavaScript" type="text/javascript">
> <!-
>window.location.replace("../index.cfm?fuseaction=products.mainpage")
> //-->
></script>
>
>That way it only affects users typing in the URL without specifying the file
>- therefore no variable issues.
>
>HTH,
>Noam
> ----------
> From: Ken Beard [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, 22 February 2001 4:42
> To: Fusebox
> Subject: Re: directory-friendly urls with a central index structure
>
> ok, the fuseaction bit would have to be a couple of
> if's about form/url variables, since
> formurl2attributes wouldn't have been run yet.
>
> --- Ken Beard <[EMAIL PROTECTED]> wrote:
> > scenario:
> > 1. client want to be able to tell people "go to
> > www.whatever.com/products/ to see my stuff" and have
> > them see that directory consistently in the url
> > 2. you want to do one central index with dot
> > notation
> > fuseactions
> >
> > solution:
> > make an application.cfm in the /products/ directory
> > with the following lines
> > <cfset request.self=cgi.path_info&"index.cfm">
> > <cfparam name="attributes.fuseaction"
> > default="products.mainpage">
> > <cfinclude template="../index.cfm">
> > <cfabort>
> >
> >
> > not sure if i got that cgi var right, but this
> > should
> > work, no?
> >
> > =====
> > Ken Beard
> > cfug manager
> > Tampa, FL
> > [EMAIL PROTECTED]
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists