RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
Thanks Ben! I did think this at the beginning, not sure why I gave up on the idea :OD Adrian -Original Message- From: Ben Doom Sent: 29 February 2008 17:39 To: CF-Talk Subject: Re: OT - URL Rewriting, an unknown number of items Instead of trying to rewrite the list this way, wouldn&#

RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
oment. Adrian -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 29 February 2008 17:17 To: CF-Talk Subject: RE: OT - URL Rewriting, an unknown number of items The simplest way would be to write a rule for each item up to a max that you think you'd hit RewriteRule

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
items=item1,item2,item3 >> >> The something/somefile parts aren't important, it's the items that I need. >> >> Cheers. >> >> -Original Message- >> From: Jordan Michaels >> Sent: 29 February 2008 16:59 >> To: CF-Talk >> Subject: Re: OT -

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Ben Doom
I'm assuming here that you want to deal with them in CF, once you've gotten to your processing page. I'd probably use either a replace or a regex to remove the /with/ and whatever other "known" elements need to be removed from the URL string. Then, I'd just loop over it as a list with / as a

RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Russ
e.cfm?items=$1,$2,$3 And so on. > -Original Message- > From: Adrian Lynch [mailto:[EMAIL PROTECTED] > Sent: Friday, February 29, 2008 12:03 PM > To: CF-Talk > Subject: RE: OT - URL Rewriting, an unknown number of items > > Sorry, I didn't say what I wanted out

RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
uary 2008 16:59 To: CF-Talk Subject: Re: OT - URL Rewriting, an unknown number of items Just to clarify, are you wanting to deal with a list of variables, like so: fruits = orange, apple, pear, etc Or are you looking for item1, item2, item3 to contain values to different variables? Warm

RE: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Russ
What do you want the vars to be rewritten into? Russ > -Original Message- > From: Adrian Lynch [mailto:[EMAIL PROTECTED] > Sent: Friday, February 29, 2008 11:52 AM > To: CF-Talk > Subject: OT - URL Rewriting, an unknown number of items > > Sorry again for the OT.

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Barney Boisvert
There's not a way to do an arbitrary number that I know of, other than using recursive redirection. At a certain point, however, I'd just start using the query string; that's what it's for. The path is for specific requests, but if you're adding additional information to the request (not determin

Re: OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Jordan Michaels
Just to clarify, are you wanting to deal with a list of variables, like so: fruits = orange, apple, pear, etc Or are you looking for item1, item2, item3 to contain values to different variables? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member

OT - URL Rewriting, an unknown number of items

2008-02-29 Thread Adrian Lynch
Sorry again for the OT. I have a URL in the form: /with/item1/item2/item3/ Where there can be any number of items. Is there a RegEx to deal with this? I could cap the number of items to something acceptable, but either way would be find. Thanks. Adrian Lynch ~~~