Michael:

Try changing the URL from http://lotauctions.com/index.cfm/name=a to
http://lotauctions.com/index.cfm/name/a (note the equal sign was changed to
a foreslash).

In general, SES URLs take the form ...filename/name1/val1/name2/val2/... and
you either use some sort of URL rewrite or some code that preparses the URL
for you so you can access your URL variables as expected.  For example,
something like:

<CFIF Len(CGI.PATH_INFO) - Len(CGI.SCRIPT_NAME) NEQ 0>
        <!--- Get SES-converted query string --->
        <CFSET QueryString = Right(CGI.PATH_INFO, Len(CGI.PATH_INFO) -
Len(CGI.SCRIPT_NAME) - 1)>

        <CFSET LoopIterations = ListLen(QueryString, "/") / 2>
        <CFLOOP FROM="1" TO="#LoopIterations#" INDEX="ctr">
                <CFSET tmp = SetVariable("URL.#GetToken(QueryString, ctr * 2 - 1, 
"/")#",
GetToken(QueryString, ctr * 2, "/"))>
        </CFLOOP>
</CFIF>

The above code will allow you to access your SES variables via the standard
URL scope.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 28, 2003 4:55 PM
> To: CF-Talk
> Subject: Re: Search engine safe urls
>
>
> Nope. A 500:
> http://lotauctions.com/index.cfm/name=a
>  The server encountered an error and was unable to complete your request.
> Message: ISAPI DLL D:\CFusionMX\runtime\lib\wsconfig\2\jrun.isa
> returned error
> status for this request.
>
> Basically, the url is being passed to the CF engine and it has no
> clue that it
> really wants index.cfm, not index.cfm/name=a
>
> > Michael,
> >
> > Just a shot in the dark: is your web server software
> intercepting the urls and
> pumping out 404's before CF can get hold of them?
> >
> > --
> > -------------------------------------------
> >  Matt Robertson,     [EMAIL PROTECTED]
> >  MSB Designs, Inc. http://mysecretbase.com
> > -------------------------------------------
> >
> > --
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to