Long Options List

Topics: Developer Forum, User Forum
Aug 20, 2008 at 1:15 PM
Edited Aug 20, 2008 at 1:28 PM

I am Doing something like this.......
RewriteRule ^/(AAA|bbb|CCC|ddd|EEE|fff|will keep growing>>>>>.....)/$  /index.cfm?zzz=$1 [I,L]
RewriteRule ^/(AAA|bbb|CCC|ddd|EEE|fff|will keep growing>>>>>.....)/$  /index.cfm?yyyy=$1 [I,L]
RewriteRule ^/(AAA|bbb|CCC|ddd|EEE|fff|will keep growing>>>>>.....)/$  /index.cfm?xxxx=$1 [I,L]
RewriteRule ^/(AAA|bbb|CCC|ddd|EEE|fff|will keep growing>>>>>.....)/$  /index.cfm?wwwww=$1 [I,L]
RewriteRule ^/(AAA|bbb|CCCddd|EEE|fff|will keep growing>>>>>.....)/$  /index.cfm?vvvvvvvvvvv=$1 [I,L]

CAN I????
Somehow make a 'list' then use the 'list' over and over as needed
------------------------------------------------------------------------------
My list here = (AAA|BBB|CCC|DDD|EEE|FFF|will keep going.....)
--------------------------------------------------------------------
RewriteRule ^/(My list here)/$  /index.cfm?zzz=$1 [I,L]
RewriteRule ^/(My list here)/$  /index.cfm?yyyy=$1 [I,L]
RewriteRule ^/(My list here)/$  /index.cfm?xxxx=$1 [I,L]
RewriteRule ^/(My list here)/$  /index.cfm?wwwww=$1 [I,L]
RewriteRule ^/(My list here)/$  /index.cfm?vvvvvvvvvvv=$1 [I,L]

Thank for any help
David
Coordinator
Aug 21, 2008 at 12:20 AM

sorry, I don't get what you are asking.

I think the answer is NO.
It might help if you gave examples not of rules you are writing, but what you want the URLs to look like, before and after rewriting.