url rewriting
I'm very gingerly stepping into the world of url rewritng.. currently the site that I'm working on has urls that look like this: http://www.domain.com/content.cfm/who-we-are who-we-are is generated out of the CMS system (home grown) and doesn't actually exist. what the bosses want is http://www.domain.com/who-we-are . I'd like to do this with an ISAPI rewrite using IIS 7 The rub is this: content.cfm contains all the queries and such to figure out the content associated with "who-we-are". can I do the re-write and still have content.cfm run? Secondly, I really suck at regEx, is there a good primer on creating rewrite scripts? -- Scott Stewart Adobe Certified Expert / Instructor ColdFusion 8, 9 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353801 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URL Rewriting
This is what I'm gonna do: 1. Create Virtual Directories in IIS: (ie /public/about will be /about) 2. Incoming links such as http://www.mydomain.com/public/about will be redirected to http://www.mydomain.com/about as such with IIRF RedirectRule ^/public/about /about [R=301] Am I missing anything that anyone can see? Eventually Google should start pointing to the virtual directories and I won't lose anything now or then. -- Ryan LeTulle On Wed, Jun 17, 2009 at 2:48 PM, Dave Watts wrote: > > > Unfortunately, everything is not in that folder. I toyed with Virtual > > Directories earlier. I am thinking of creating multiple virtual > directories > > like: > > /about , /about/staff ... , /visitors , /visitors/attractions > Does > > this make sense to you? > > Sure, assuming that these folders are parallel to the "pages" folder. > > > The client just doesn't want the "pages" folder to ever show in the path. > > Was told by "SEO experts" this is bad for Google and looks ugly. Maybe > it > > is bad but the pages they are referencing are their highest ranking pages > in > > Google so go figure. > > Well, I wouldn't want "/pages" in the path either, since it doesn't > add any meaningful value. Here's how I like my URLs: > > http://www.w3.org/Provider/Style/URI > > That said, if their current pages rank highly with "/pages" in the > URL, they will be throwing that away (at least temporarily) if they > discard those URLs in favor of, well, anything else. > > And as far as SEO goes, it doesn't make any difference. But nowadays, > anybody can claim to be an "SEO expert"; it doesn't count for much. > Here's a decent SEO presentation by my coworker, Steve Drucker (who > isn't an "SEO expert", but doesn't claim to be - and who has as good > or better a working knowledge of SEO as many of these so-called > "experts"): > > http://figleaf.mmalliance.acrobat.com/seo/ > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more inf > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323606 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: URL Rewriting
> Unfortunately, everything is not in that folder. I toyed with Virtual > Directories earlier. I am thinking of creating multiple virtual directories > like: > /about , /about/staff ... , /visitors , /visitors/attractions Does > this make sense to you? Sure, assuming that these folders are parallel to the "pages" folder. > The client just doesn't want the "pages" folder to ever show in the path. > Was told by "SEO experts" this is bad for Google and looks ugly. Maybe it > is bad but the pages they are referencing are their highest ranking pages in > Google so go figure. Well, I wouldn't want "/pages" in the path either, since it doesn't add any meaningful value. Here's how I like my URLs: http://www.w3.org/Provider/Style/URI That said, if their current pages rank highly with "/pages" in the URL, they will be throwing that away (at least temporarily) if they discard those URLs in favor of, well, anything else. And as far as SEO goes, it doesn't make any difference. But nowadays, anybody can claim to be an "SEO expert"; it doesn't count for much. Here's a decent SEO presentation by my coworker, Steve Drucker (who isn't an "SEO expert", but doesn't claim to be - and who has as good or better a working knowledge of SEO as many of these so-called "experts"): http://figleaf.mmalliance.acrobat.com/seo/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more inf ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323604 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: URL Rewriting
Thanks Dave. Unfortunately, everything is not in that folder. I toyed with Virtual Directories earlier. I am thinking of creating multiple virtual directories like: /about , /about/staff ... , /visitors , /visitors/attractions Does this make sense to you? The client just doesn't want the "pages" folder to ever show in the path. Was told by "SEO experts" this is bad for Google and looks ugly. Maybe it is bad but the pages they are referencing are their highest ranking pages in Google so go figure. -- Ryan LeTulle On Wed, Jun 17, 2009 at 2:32 PM, Dave Watts wrote: > > > I saw the topic of url rewriting come up here recently which peeked my > > interest so here I go with my first newb issue: > > Installed IIRF on Win 2003 IIS 6 and have run a test to confirm it is > > behaving nicely. > > > > I have a site with all pages physically located inside a subfolder (ie > > /pages) directly off the root. > > > > I was asked to remove the "pages" folder from the location that shows in > the > > web browser (ie change http://www.mydomain.com/pages/events/ to > > http://www.mydomain.com/events). > > > > I just want to hide the "pages" folder from view. > > > > Is this possible? > > If all your pages are in fact in that one folder, you can just > configure IIS to use that as the root folder. If you then want to > serve other files, like images, from a parallel folder, just create a > virtual directory pointing to that folder. There's no need to do URL > rewriting for this. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323602 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: URL Rewriting
> I saw the topic of url rewriting come up here recently which peeked my > interest so here I go with my first newb issue: > Installed IIRF on Win 2003 IIS 6 and have run a test to confirm it is > behaving nicely. > > I have a site with all pages physically located inside a subfolder (ie > /pages) directly off the root. > > I was asked to remove the "pages" folder from the location that shows in the > web browser (ie change http://www.mydomain.com/pages/events/ to > http://www.mydomain.com/events). > > I just want to hide the "pages" folder from view. > > Is this possible? If all your pages are in fact in that one folder, you can just configure IIS to use that as the root folder. If you then want to serve other files, like images, from a parallel folder, just create a virtual directory pointing to that folder. There's no need to do URL rewriting for this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323600 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
URL Rewriting
I saw the topic of url rewriting come up here recently which peeked my interest so here I go with my first newb issue: Installed IIRF on Win 2003 IIS 6 and have run a test to confirm it is behaving nicely. I have a site with all pages physically located inside a subfolder (ie /pages) directly off the root. I was asked to remove the "pages" folder from the location that shows in the web browser (ie change http://www.mydomain.com/pages/events/ to http://www.mydomain.com/events). I just want to hide the "pages" folder from view. Is this possible? -- Ryan LeTulle ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323585 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: URL rewriting in CF7 shared server environment
I host in a shared environment with CrystalTech, but I can still set the Custom Error Page for error code 404. So I point the 404 to a file (like dsp_404.cfm) where I process the request and return a message to the user or redirect somewhere else, depending on what I want to do for a given site / request. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319081 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: URL rewriting in CF7 shared server environment
I don't know which hosting company you're with, but many (Including ours) allow users to specify which page is served for a page-not-found. By default it's usually something like 404.htm but there's no reason it cant be a coldfusion page like 404.cfm. On our system that's what we recommend. Then 404.cfm takes the cgi.http_referer to see what they're looking for and redirects them to another page, if it's valid, or to the home page or a 'friendly' page missing if it's not. Have a look at my own web site, http://afpwebworks.com/colorschemer you'll be redirected off to http://afpwebworks.com/Index.cfm?pid=111237 - that's how it's done. Then try mis-spelling colorschemer - you'll be redirected to the home page. The 404.cfm page can be a simple one like mine, or it can look up a database to see which page should be served for the different urls you expect users to look up, or you could use a CFSWITCH set to work out what page to serve. No server changes needed at all, except changing the name of the 404 file to a coldfusion file, and that can be changed using the control panel without any reference to the system admin. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Feb 10, 2009 at 1:56 AM, bill turner wrote: > > Is there anyway to do URL rewriting, or at least capture the 404's, when > running in a shared environment where I have little control over the > environment? I've read many, many posts and articles on the web, but all are > either talking about changing something at the server level (which may be the > answer itself) or are using CF8 to capture the missing templates. > > Thanks, > Bill > www.changent.com > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319080 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
URL rewriting in CF7 shared server environment
Is there anyway to do URL rewriting, or at least capture the 404's, when running in a shared environment where I have little control over the environment? I've read many, many posts and articles on the web, but all are either talking about changing something at the server level (which may be the answer itself) or are using CF8 to capture the missing templates. Thanks, Bill www.changent.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319077 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT - URL Rewriting, an unknown number of items
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't it make more sense to do something like: ^something/(.+) /somefile.cfm?items=$1 Then you could traverse the item list in CF using / as a delimiter, and not have to have multiple rules for the URLS. Of course, that all assumes that the item list is the last bit of the URL, which may or may not be true. --Ben Doom Russ wrote: > The simplest way would be to write a rule for each item up to a max that you > think you'd hit > > RewriteRule ^something/([^/])+/*$ /somefile.cfm?items=$1 > RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2 > RewriteRule ^something/([^/])+/([^/])+/([^/])+*$ > /somefile.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 the other end... >> >> something/item1/item2/item3 >> >> would become somefile.cfm?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 - 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 regards, >> Jordan Michaels >> Vivio Technologies >> http://www.viviotech.net/ >> BlueDragon Alliance Member >> [EMAIL PROTECTED] >> >> >> Adrian Lynch wrote: >>> 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 >>> >>> >>> >> >> >> > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - URL Rewriting, an unknown number of items
The problem with that is, I have 40+ rules in place already and the items can be at the end of all of them. Could I do something like this? ^something/?(item1)?/?(item2)/?(item3)/?(item4)/?(item5)/?(item6)/? Rewrite to: somefile.cfm?items=$1,$2,$3,$4,$5,$6 Which could turn into any one of: somefile.cfm?items=item1,item2 somefile.cfm?items=item1,,,item4,,item6 somefile.cfm?items=, Then do another rewrite to remove any multiple commas. Can I rewrite the same URL more than once? So take the result of one rewrite and pass it to another? I'm looking though the docs at the moment. 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 ^something/([^/])+/*$ /somefile.cfm?items=$1 RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2 RewriteRule ^something/([^/])+/([^/])+/([^/])+*$ /somefile.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 the other end... > > something/item1/item2/item3 > > would become somefile.cfm?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 - 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 regards, > Jordan Michaels > Vivio Technologies > http://www.viviotech.net/ > BlueDragon Alliance Member > [EMAIL PROTECTED] > > > Adrian Lynch wrote: > > 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 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300204 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - URL Rewriting, an unknown number of items
Instead of trying to rewrite the list this way, wouldn't it make more sense to do something like: ^something/(.+) /somefile.cfm?items=$1 Then you could traverse the item list in CF using / as a delimiter, and not have to have multiple rules for the URLS. Of course, that all assumes that the item list is the last bit of the URL, which may or may not be true. --Ben Doom Russ wrote: > The simplest way would be to write a rule for each item up to a max that you > think you'd hit > > RewriteRule ^something/([^/])+/*$ /somefile.cfm?items=$1 > RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2 > RewriteRule ^something/([^/])+/([^/])+/([^/])+*$ > /somefile.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 the other end... >> >> something/item1/item2/item3 >> >> would become somefile.cfm?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 - 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 regards, >> Jordan Michaels >> Vivio Technologies >> http://www.viviotech.net/ >> BlueDragon Alliance Member >> [EMAIL PROTECTED] >> >> >> Adrian Lynch wrote: >>> 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 >>> >>> >>> >> >> >> > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT - URL Rewriting, an unknown number of items
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 delimiter. HTH. --Ben Doom Adrian Lynch wrote: > 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 > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
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 ^something/([^/])+/*$ /somefile.cfm?items=$1 RewriteRule ^something/([^/])+/([^/])+/*$ /somefile.cfm?items=$1,$2 RewriteRule ^something/([^/])+/([^/])+/([^/])+*$ /somefile.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 the other end... > > something/item1/item2/item3 > > would become somefile.cfm?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 - 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 regards, > Jordan Michaels > Vivio Technologies > http://www.viviotech.net/ > BlueDragon Alliance Member > [EMAIL PROTECTED] > > > Adrian Lynch wrote: > > 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 > > > > > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - URL Rewriting, an unknown number of items
Sorry, I didn't say what I wanted out the other end... something/item1/item2/item3 would become somefile.cfm?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 - 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 regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Adrian Lynch wrote: > 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 > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT - URL Rewriting, an unknown number of items
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. > > 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 > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - URL Rewriting, an unknown number of items
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 determining which page to view), the query string is the right place in most cases. cheers, barneyb On Fri, Feb 29, 2008 at 8:52 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > 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 > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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 regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Adrian Lynch wrote: > 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 > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT - URL Rewriting, an unknown number of items
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 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - URL Rewriting, how many rules?
Cheers Barney and Dave, I'll end up with about 100 so that's good to know. Adrian -Original Message- From: Barney Boisvert Sent: 28 February 2008 16:40 To: CF-Talk Subject: Re: OT - URL Rewriting, how many rules? mod_rewrite is a drop in a bucket compared to the ocean of a JEE stack, let alone one with CF on it. Using .htaccess is going to be more of a performance penalty, because of all the extra per-request file IO. Unless you have a compelling reason (like shared hosting), you should put all your config in the main config files. If you want to version your rewriting config with your app (usually what you want), then use an Include directive instead of .htaccess. I've used hundrends (maybe thousands?) of rewrite rules with no issue and used rewrite maps with thousands of entries, both with no discernible performance penalty. Rewriting queries still provided the best bang for your buck speeding things up. cheers, barneyb On Thu, Feb 28, 2008 at 8:29 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Sorry, very quick OT. > > I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is > this too many? > > Can anyone claim to have more and do you notice any performance hit? > > Any links to info on this subject? > > Thanks. > > Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT - URL Rewriting, how many rules?
mod_rewrite is a drop in a bucket compared to the ocean of a JEE stack, let alone one with CF on it. Using .htaccess is going to be more of a performance penalty, because of all the extra per-request file IO. Unless you have a compelling reason (like shared hosting), you should put all your config in the main config files. If you want to version your rewriting config with your app (usually what you want), then use an Include directive instead of .htaccess. I've used hundrends (maybe thousands?) of rewrite rules with no issue and used rewrite maps with thousands of entries, both with no discernible performance penalty. Rewriting queries still provided the best bang for your buck speeding things up. cheers, barneyb On Thu, Feb 28, 2008 at 8:29 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Sorry, very quick OT. > > I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is > this too many? > > Can anyone claim to have more and do you notice any performance hit? > > Any links to info on this subject? > > Thanks. > > Adrian > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300096 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - URL Rewriting, how many rules?
mod_rewrite is a drop in a bucket compared to the ocean of a JEE stack, let alone one with CF on it. Using .htaccess is going to be more of a performance penalty, because of all the extra per-request file IO. Unless you have a compelling reason (like shared hosting), you should put all your config in the main config files. If you want to version your rewriting config with your app (usually what you want), then use an Include directive instead of .htaccess. I've used hundrends (maybe thousands?) of rewrite rules with no issue and used rewrite maps with thousands of entries, both with no discernible performance penalty. Rewriting queries still provided the best bang for your buck speeding things up. cheers, barneyb On Thu, Feb 28, 2008 at 8:29 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote: > Sorry, very quick OT. > > I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is > this too many? > > Can anyone claim to have more and do you notice any performance hit? > > Any links to info on this subject? > > Thanks. > > Adrian > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300095 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - URL Rewriting, how many rules?
> I have 20 odd rules in my .htaccess file and it may grow to > 40 or 60. Is this too many? > > Can anyone claim to have more and do you notice any performance hit? > > Any links to info on this subject? The most I've seen in a production application was about 300, and it didn't cause any noticeable problem. However, we didn't load test to ensure that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300093 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT - URL Rewriting, how many rules?
Sorry, very quick OT. I have 20 odd rules in my .htaccess file and it may grow to 40 or 60. Is this too many? Can anyone claim to have more and do you notice any performance hit? Any links to info on this subject? Thanks. Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300092 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Looking for a good IIS URL rewriting plugin
And maybe IIS8 will finally allow wildcards in hostnames... One can only dream... :-) Russ > -Original Message- > From: John Beynon [mailto:[EMAIL PROTECTED] > Sent: Friday, March 16, 2007 9:44 AM > To: CF-Talk > Subject: Re: Looking for a good IIS URL rewriting plugin > > iis7 will have it in there out of the box :) > > On 3/16/07, Russ <[EMAIL PROTECTED]> wrote: > > Plenty of modules that support AD authentication for Apache... > > > > Russ > > > > > -Original Message- > > > From: Eric Haskins [mailto:[EMAIL PROTECTED] > > > Sent: Friday, March 16, 2007 1:03 AM > > > To: CF-Talk > > > Subject: Re: Looking for a good IIS URL rewriting plugin > > > > > > I second Russ on $0 get apache its built in, not to mention more > flexible > > > ;) > > > mod_rewrite baby! > > > > > > We have used Helicon's ISAPI_rewrite while we were migrating to Apache > so > > > if > > > you need to stay with IIS (Authentication,AD) then I will throw a vote > for > > > Helicon > > > > > > Eric > > > > > > > > > On 3/15/07, Russ <[EMAIL PROTECTED]> wrote: > > > > > > > > Umm... pay $0 bucks and get Apache and arrange your configuration > files > > > > any way you like... > > > > > > > > Russ > > > > > > > > > > > > > > > > > > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272844 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for a good IIS URL rewriting plugin
iis7 will have it in there out of the box :) On 3/16/07, Russ <[EMAIL PROTECTED]> wrote: > Plenty of modules that support AD authentication for Apache... > > Russ > > > -Original Message- > > From: Eric Haskins [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 16, 2007 1:03 AM > > To: CF-Talk > > Subject: Re: Looking for a good IIS URL rewriting plugin > > > > I second Russ on $0 get apache its built in, not to mention more flexible > > ;) > > mod_rewrite baby! > > > > We have used Helicon's ISAPI_rewrite while we were migrating to Apache so > > if > > you need to stay with IIS (Authentication,AD) then I will throw a vote for > > Helicon > > > > Eric > > > > > > On 3/15/07, Russ <[EMAIL PROTECTED]> wrote: > > > > > > Umm... pay $0 bucks and get Apache and arrange your configuration files > > > any way you like... > > > > > > Russ > > > > > > > > > > > > > > ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272800 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Looking for a good IIS URL rewriting plugin
Plenty of modules that support AD authentication for Apache... Russ > -Original Message- > From: Eric Haskins [mailto:[EMAIL PROTECTED] > Sent: Friday, March 16, 2007 1:03 AM > To: CF-Talk > Subject: Re: Looking for a good IIS URL rewriting plugin > > I second Russ on $0 get apache its built in, not to mention more flexible > ;) > mod_rewrite baby! > > We have used Helicon's ISAPI_rewrite while we were migrating to Apache so > if > you need to stay with IIS (Authentication,AD) then I will throw a vote for > Helicon > > Eric > > > On 3/15/07, Russ <[EMAIL PROTECTED]> wrote: > > > > Umm... pay $0 bucks and get Apache and arrange your configuration files > > any way you like... > > > > Russ > > > > > > > ~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272786 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for a good IIS URL rewriting plugin
I second Russ on $0 get apache its built in, not to mention more flexible ;) mod_rewrite baby! We have used Helicon's ISAPI_rewrite while we were migrating to Apache so if you need to stay with IIS (Authentication,AD) then I will throw a vote for Helicon Eric On 3/15/07, Russ <[EMAIL PROTECTED]> wrote: > > Umm... pay $0 bucks and get Apache and arrange your configuration files > any way you like... > > Russ > > ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272782 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Looking for a good IIS URL rewriting plugin
Umm... pay $0 bucks and get Apache and arrange your configuration files any way you like... Russ > -Original Message- > From: Casey Dougall [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 15, 2007 8:22 PM > To: CF-Talk > Subject: Re: Looking for a good IIS URL rewriting plugin > > Umm, > Only one ini file... All of your rules in one file, that would suck! Yeah > this would work with one website but with 20 or 30 it would really suck. > http://www.codeplex.com/IIRF/Thread/View.aspx?ThreadId=7794 > > Pay the $99 bucks and get ISAP_Rewrite!!! > > Casey > > On 3/15/07, Joel <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > any extra processing overheads on IIRF compared to the paid versions ? > > > > Joel > > - Original Message - > > From: "Scott Stroz" <[EMAIL PROTECTED]> > > To: "CF-Talk" > > Sent: Friday, March 16, 2007 4:40 AM > > Subject: Re: Looking for a good IIS URL rewriting plugin > > > > > > >I ahve used IIRF http://cheeso.members.winisp.net/IIRF.aspx with > success. > > > > > > I prefer it to ISAPI_Rewrite because you can set up IIRF on a per > domain > > > name basis and not have to pay anything for it. And its st00id easy > to > > > set > > > up. > > > > > > On 3/15/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: > > >> > > >> Nathan, > > >> > > >> I have been using ISAPIRewrite for a number of years and have been > > >> very happy with it. http://www.helicontech.com/ > > >> > > >> Dean > > >> > > >> -- > > >> __ > > >> Dean Lawrence, CIO/Partner > > >> Internet Data Technology > > >> 888.GET.IDT1 ext. 701 * fax: 888.438.4381 > > >> http://www.idatatech.com/ > > >> Corporate Internet Development and Marketing Specialists > > >> > > >> > > > > > > > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272775 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
Umm, Only one ini file... All of your rules in one file, that would suck! Yeah this would work with one website but with 20 or 30 it would really suck. http://www.codeplex.com/IIRF/Thread/View.aspx?ThreadId=7794 Pay the $99 bucks and get ISAP_Rewrite!!! Casey On 3/15/07, Joel <[EMAIL PROTECTED]> wrote: > > Hi, > > any extra processing overheads on IIRF compared to the paid versions ? > > Joel > - Original Message - > From: "Scott Stroz" <[EMAIL PROTECTED]> > To: "CF-Talk" > Sent: Friday, March 16, 2007 4:40 AM > Subject: Re: Looking for a good IIS URL rewriting plugin > > > >I ahve used IIRF http://cheeso.members.winisp.net/IIRF.aspx with success. > > > > I prefer it to ISAPI_Rewrite because you can set up IIRF on a per domain > > name basis and not have to pay anything for it. And its st00id easy to > > set > > up. > > > > On 3/15/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: > >> > >> Nathan, > >> > >> I have been using ISAPIRewrite for a number of years and have been > >> very happy with it. http://www.helicontech.com/ > >> > >> Dean > >> > >> -- > >> __ > >> Dean Lawrence, CIO/Partner > >> Internet Data Technology > >> 888.GET.IDT1 ext. 701 * fax: 888.438.4381 > >> http://www.idatatech.com/ > >> Corporate Internet Development and Marketing Specialists > >> > >> > > > > > > ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272770 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
Hi, any extra processing overheads on IIRF compared to the paid versions ? Joel - Original Message - From: "Scott Stroz" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Friday, March 16, 2007 4:40 AM Subject: Re: Looking for a good IIS URL rewriting plugin >I ahve used IIRF http://cheeso.members.winisp.net/IIRF.aspx with success. > > I prefer it to ISAPI_Rewrite because you can set up IIRF on a per domain > name basis and not have to pay anything for it. And its st00id easy to > set > up. > > On 3/15/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: >> >> Nathan, >> >> I have been using ISAPIRewrite for a number of years and have been >> very happy with it. http://www.helicontech.com/ >> >> Dean >> >> -- >> __ >> Dean Lawrence, CIO/Partner >> Internet Data Technology >> 888.GET.IDT1 ext. 701 * fax: 888.438.4381 >> http://www.idatatech.com/ >> Corporate Internet Development and Marketing Specialists >> >> > > ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272767 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
another vote for Ionic On 3/16/07, Scott Stroz <[EMAIL PROTECTED]> wrote: > > I ahve used IIRF http://cheeso.members.winisp.net/IIRF.aspx with success. > > I prefer it to ISAPI_Rewrite because you can set up IIRF on a per domain > name basis and not have to pay anything for it. And its st00id easy to > set > up. > > On 3/15/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: > > > > Nathan, > > > > I have been using ISAPIRewrite for a number of years and have been > > very happy with it. http://www.helicontech.com/ > > > > Dean > > > > -- > > __ > > Dean Lawrence, CIO/Partner > > Internet Data Technology > > 888.GET.IDT1 ext. 701 * fax: 888.438.4381 > > http://www.idatatech.com/ > > Corporate Internet Development and Marketing Specialists > > > > > > ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272764 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
I ahve used IIRF http://cheeso.members.winisp.net/IIRF.aspx with success. I prefer it to ISAPI_Rewrite because you can set up IIRF on a per domain name basis and not have to pay anything for it. And its st00id easy to set up. On 3/15/07, Dean Lawrence <[EMAIL PROTECTED]> wrote: > > Nathan, > > I have been using ISAPIRewrite for a number of years and have been > very happy with it. http://www.helicontech.com/ > > Dean > > -- > __ > Dean Lawrence, CIO/Partner > Internet Data Technology > 888.GET.IDT1 ext. 701 * fax: 888.438.4381 > http://www.idatatech.com/ > Corporate Internet Development and Marketing Specialists > > ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272740 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
I use this and like it: http://cheeso.members.winisp.net/IIRF.aspx On 3/15/07, Nathan Strutz <[EMAIL PROTECTED]> wrote: > Hey gang, > > I'm looking for people's opinions on URL Rewriting plugins for IIS 6. Any > experience, good or bad, and recommendations. I've heard of a lot of them > over the years, but haven't implemented any yet. > > Thanks! > -- > nathan strutz > http://www.dopefly.com/ > > > ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272739 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looking for a good IIS URL rewriting plugin
I've used this one in the past and found it pretty decent. It's not as polished or as fully featured as the Apache implementation, of course, but the regex support is strong so it should handle most needs. And it's free (which is why I used it). http://www.iismods.com./url-rewrite/index.htm Rob On 3/15/07, Nathan Strutz <[EMAIL PROTECTED]> wrote: > Hey gang, > > I'm looking for people's opinions on URL Rewriting plugins for IIS 6. Any > experience, good or bad, and recommendations. I've heard of a lot of them > over the years, but haven't implemented any yet. > > Thanks! > -- > nathan strutz > http://www.dopefly.com/ > > > ~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272737 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
Nathan, I have been using ISAPIRewrite for a number of years and have been very happy with it. http://www.helicontech.com/ Dean -- __ Dean Lawrence, CIO/Partner Internet Data Technology 888.GET.IDT1 ext. 701 * fax: 888.438.4381 http://www.idatatech.com/ Corporate Internet Development and Marketing Specialists ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a good IIS URL rewriting plugin
We use ISAPI Rewrite from Helicon http://www.isapirewrite.com/ Works great. On 3/15/07, Nathan Strutz <[EMAIL PROTECTED]> wrote: > > Hey gang, > > I'm looking for people's opinions on URL Rewriting plugins for IIS 6. Any > experience, good or bad, and recommendations. I've heard of a lot of them > over the years, but haven't implemented any yet. > > Thanks! > -- > nathan strutz > http://www.dopefly.com/ > > > ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looking for a good IIS URL rewriting plugin
Hey gang, I'm looking for people's opinions on URL Rewriting plugins for IIS 6. Any experience, good or bad, and recommendations. I've heard of a lot of them over the years, but haven't implemented any yet. Thanks! -- nathan strutz http://www.dopefly.com/ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re:CFHTTP & url rewriting
It can also be done without using cfscript: It can also be done without using method="get" resolveurl="true"> cforum/balancingact/", "content2.cfm?id=", "All")> @ "content.cfm" [Read only] 27 lines, 994 characters cforum/balancingact/", "content2.cfm?id=", "All")> "0"> ', #Variables.links#) -1> #postlist# [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFHTTP & url rewriting
Maybe this will be helpful. This was code I used to rewrite bulletin boards stripped down to just messages and made local using variables. I used the rereplace function: method="get" resolveurl="true"> // Modify all links to local second agent page with variable links = ReReplaceNoCase(#cfhttp.filecontent#, "http://messageboards.ivillage.com/n/mb/message.asp?webtag=iv-ppplaynov97n&msg=" , "pp2.cfm?id=", "All"); // Replace 'nogifs' in links with nothing links2 = ReReplaceNoCase(#Variables.links#, "wintext", "", "All"); // Find point in content to strip to from beginning of file count = Find("", #variables.links2# ) -1; // Remove from beginning to the above point postlist = RemoveChars("#variables.links2#", 1, #variables.count#); // Remove from beginning to the above point postlist = RemoveChars("#variables.links2#", 1, #variables.count#); // Display everything left of the
Re: CFHTTP & url rewriting
On Tuesday, November 25, 2003, at 12:36 PM, Daniel Mackey wrote: > Hi, > > If you stick, > content you pulled, then any images and JS will be loaded from their > site. > > So, > as > the Base Href will tack on the site URL. Thanks! Now to figure out how to make _javascript_ images in image rollovers, etc. absolute and I am pretty much done with this little segment. Thanks for your help! andrew golden [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFHTTP & url rewriting
Hi, If you stick, content you pulled, then any images and JS will be loaded from their site. So, the Base Href will tack on the site URL. Regards, Dan. -Original Message- From: Andrew Golden [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 18:26 To: CF-Talk Subject: Re: CFHTTP & url rewriting On Tuesday, November 25, 2003, at 12:18 PM, Daniel Mackey wrote: > Hi, > > Would you be able to stick a BASE HREF into the CHTTP content? Not following what you mean? Please explain a little more... > How are you using the data once grabbed? Basically dynamically creating mirrors of advertisers sites that are routed through ours. The site is for a business magazine. A subscriber will log in, and be able to retrieve information about a specific advertiser by entering in an id number from the advertisement. The goal is to allow the user to open a window with the advertisers website in it, but to have it being loaded by our site. We will be providing advertisers with a login to view who has requested more information about them. If a subscriber requests more information from an advertiser, that specific users browsing of that advertisers site is released to them to help them learn where the users interests lie. Thanks for the quick reply! Andew Golden [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFHTTP & url rewriting
On Tuesday, November 25, 2003, at 12:18 PM, Daniel Mackey wrote: > Hi, > > Would you be able to stick a BASE HREF into the CHTTP content? Not following what you mean? Please explain a little more... > How are you using the data once grabbed? Basically dynamically creating mirrors of advertisers sites that are routed through ours. The site is for a business magazine. A subscriber will log in, and be able to retrieve information about a specific advertiser by entering in an id number from the advertisement. The goal is to allow the user to open a window with the advertisers website in it, but to have it being loaded by our site. We will be providing advertisers with a login to view who has requested more information about them. If a subscriber requests more information from an advertiser, that specific users browsing of that advertisers site is released to them to help them learn where the users interests lie. Thanks for the quick reply! Andew Golden [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFHTTP & url rewriting
Hi, Would you be able to stick a BASE HREF into the CHTTP content? How are you using the data once grabbed? Regards, Dan. -Original Message- From: Andrew Golden [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 18:17 To: CF-Talk Subject: CFHTTP & url rewriting I have been going in circles for about two hours here and need the groups thoughts and suggestions. I am tying to access a page via CFHTTP, rewrite all urls (images and href tags) to be absolute instead of relative. Any suggestions for how to rewrite all of them? I know I can turn on resolveurls but a lot of the sites my users need to be able to access may include _javascript_ thats uses relative links. Any suggestions for a RegEx that can search for relative URLs? Any guidance is greatly appreciated! Andrew Golden [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFHTTP & url rewriting
I have been going in circles for about two hours here and need the groups thoughts and suggestions. I am tying to access a page via CFHTTP, rewrite all urls (images and href tags) to be absolute instead of relative. Any suggestions for how to rewrite all of them? I know I can turn on resolveurls but a lot of the sites my users need to be able to access may include _javascript_ thats uses relative links. Any suggestions for a RegEx that can search for relative URLs? Any guidance is greatly appreciated! Andrew Golden [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]