Re: URL re-write SEO friendly

2008-04-21 Thread Dominic Watson
There is one called IsapiRewrite4 by Phil Hazel from the uk. It is open source and free :) Good news thanks - opensource AND uk! I have only used ISAPI_rewrite within a company who inherited a project that used it; never bought it for myself, though I have been on the verge of doing so.

RE: URL re-write SEO friendly

2008-04-21 Thread Bryan Stevenson
PM To: CF-Talk Subject: Re: URL re-write SEO friendly I have used ISAPI_Rewrite for IIS, excellent and only $99 per server. http://www.isapirewrite.com/ You'll probably need help setting up the regex rules and the like - but help is always at hand it seems (not from me tho) Dominic

Re: URL re-write SEO friendly

2008-04-21 Thread Dominic Watson
Thanks Dominic and Mark...straight answersI like that ;-) Lol, my favourite responses: 'Why would you want to do that? (fool)' or 'Why don't you just...???' (fool) ;) -- Blog it up: http://fusion.dominicwatson.co.uk

RE: URL re-write SEO friendly

2008-04-21 Thread Dave Watts
Lol, my favourite responses: 'Why would you want to do that? (fool)' or 'Why don't you just...???' (fool) Sometimes - very often, actually - that is the correct response. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified

Re: URL re-write SEO friendly

2008-04-21 Thread Dominic Watson
Sometimes - very often, actually - that is the correct response. ;) agreed, but when written in that way the subtext is very obviously just 'fool', especially the second one (used all the time). 'Why don't you just...' can usually be replaced with 'This is how... and look this up in google to

RE: URL re-write SEO friendly

2008-04-21 Thread Andy Matthews
I'll second ISAPI_REWRITE... -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 12:24 PM To: CF-Talk Subject: Re: URL re-write SEO friendly I have used ISAPI_Rewrite for IIS, excellent and only $99 per server. http://www.isapirewrite.com

RE: URL re-write SEO friendly

2008-04-21 Thread Mark Kruger
I confess to not having a clue as to what is going on here.. A pop culture inside joke is my best guess :) Mark -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 1:03 PM To: CF-Talk Subject: Re: URL re-write SEO friendly Sometimes - very

RE: URL re-write SEO friendly

2008-04-21 Thread Russ
-Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 12:14 PM To: CF-Talk Subject: RE: URL re-write SEO friendly Hi All, First off...the question was how to do it the way this SEO company is aksing. So let's clarify shall we

RE: URL re-write SEO friendly

2008-04-21 Thread Bryan Stevenson
Don't let the fact that you're running on Windows keep you from enjoying the awesomeness that is Apache. Russ Shared server Russ Cheers - Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell:

Re: URL re-write SEO friendly

2008-04-21 Thread Mark Picker
Highly recommend IIRF (Ionic's ISAPI Rewrite Filter) http://cheeso.members.winisp.net/IIRF.aspx Cheers Mark Hey Allpassing this along for a co-worker. Hello All -- I am working on a database driven website that can access individual records with a URL like this: http

Re: URL re-write SEO friendly

2008-04-21 Thread Mark Picker
Highly recommend IIRF (Ionic's ISAPI Rewrite Filter) http://cheeso.members.winisp.net/IIRF.aspx Cheers Mark Hey Allpassing this along for a co-worker. Hello All -- I am working on a database driven website that can access individual records with a URL like this: http

Re: URL re-write SEO friendly

2008-04-21 Thread Rizal Firmansyah
No, i don't think so. It may be true couple of years back, but now it seems Google treats them same. Try this: http://www.google.com/search?sourceid=navclientie=UTF-8rls=GGLJ,GGLJ:2007-50,GGLJ:enq=cfx%5fexcel What do you see at the top? It's the URL that contains querystring... not the folder

URL re-write SEO friendly

2008-04-18 Thread Bryan Stevenson
Hey Allpassing this along for a co-worker. Hello All -- I am working on a database driven website that can access individual records with a URL like this: http://www.domainname.com/index.cfm?pg=listing_detailsid=83hit=1popup=0preview=1 In order to make the URL more SEO friendly, we

RE: URL re-write SEO friendly

2008-04-18 Thread Adrian Lynch
You haven't really asked a question but... if it's a choice between /83/ or /gardentools/ and your page isn't about the number 83, go with the later. Adrian -Original Message- From: Bryan Stevenson Sent: 18 April 2008 23:44 To: CF-Talk Subject: URL re-write SEO friendly Hey All

RE: URL re-write SEO friendly

2008-04-18 Thread Bobby Hartsfield
Is there a question? ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 6:44 PM To: CF-Talk Subject: URL re-write SEO friendly Hey Allpassing this along

RE: URL re-write SEO friendly

2008-04-18 Thread Russ
://www.domainname.com/index.cfm?pg=listing_detailsid=$2hit=1popup=0p review=1 Russ -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 7:06 PM To: CF-Talk Subject: RE: URL re-write SEO friendly You haven't really asked a question

Re: cf8 Admin error handler url

2008-04-14 Thread rex
] wrote: I've just set up a cluster with two instances. I've got an error handler worked in the past. Now put it same url as before e.g. /myapp/myerrorhandler.cfm. The CF Admin comes up with an error: The file specified as the site wide error handler does not exist.. The instance admin

Re: cf8 Admin error handler url

2008-04-14 Thread George Lu
://servername/...; and http://servername:8301/...; are in different application scope? On 11/04/2008, George Lu [EMAIL PROTECTED] wrote: I've just set up a cluster with two instances. I've got an error handler worked in the past. Now put it same url as before e.g. /myapp/myerrorhandler.cfm

Re: cf8 Admin error handler url

2008-04-12 Thread George Lu
: I've just set up a cluster with two instances. I've got an error handler worked in the past. Now put it same url as before e.g. /myapp/myerrorhandler.cfm. The CF Admin comes up with an error: The file specified as the site wide error handler does not exist.. The instance admin url start

Re: cf8 Admin error handler url

2008-04-12 Thread George Lu
in the past. Now put it same url as before e.g. /myapp/myerrorhandler.cfm. The CF Admin comes up with an error: The file specified as the site wide error handler does not exist.. The instance admin url start with http://servername:8301/CFIDE/...http://servername:8301/CFIDE/. My app

cf8 Admin error handler url

2008-04-11 Thread George Lu
I've just set up a cluster with two instances. I've got an error handler worked in the past. Now put it same url as before e.g. /myapp/myerrorhandler.cfm. The CF Admin comes up with an error: The file specified as the site wide error handler does not exist.. The instance admin url start with http

Re: How to obtain just the domain from a URL

2008-03-27 Thread Dominik Geelen
Hi, the pattern: ^\w+:\/\/(?:www\.)?([^/]+)\/ should do the trick even if im not sure if the cf-regex-engine can handle (?: patterns. the domain (without the www.) will be in the first sub-match (\1) for example: cfset domain = REReplace(fullURL,^\w+:\/\/(?:www\.)?([^/]+)\/,\1) hope this

Re: sending entire Form back on a url string

2008-03-27 Thread Don L
Morning, Having a brain freeze. I want to send an entire set of form variables back to the previous page on the url string. Obviously previous_page.cfm?formStructure=#Form# doesn't work. I can't for the life of me remember how to do this. Cheers Will Will, the following technique

Re: sending entire Form back on a url string

2008-03-27 Thread Christopher Vigliotti
Sorry if I missed part of this conversation, but do you have to use a url string? Throwing the form scope into a persistent scope would be a lot easier. - Chris On Thu, Mar 27, 2008 at 10:32 AM, Don L [EMAIL PROTECTED] wrote: Morning, Having a brain freeze. I want to send an entire set

Re: sending entire Form back on a url string

2008-03-27 Thread Matt Blatchley
I would convert the Struct into an Array using StructKeyArray(form). Then loop through the array and build the URL string appending the in-between each value. Then you can then attach it to the URL. But URL strings in some browsers have a character limit, so as long as that's not an issue

Re: sending entire Form back on a url string

2008-03-27 Thread Matt Blatchley
the array and build the URL string appending the in-between each value. Then you can then attach it to the URL. But URL strings in some browsers have a character limit, so as long as that's not an issue, then it should work. The other thing is that your form value pairs would need to be simple

RE: sending entire Form back on a url string

2008-03-27 Thread Bobby Hartsfield
?x=xcfloop collection=#form# item=i#i#=#form[i]#/cfloop -Original Message- From: Matt Blatchley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 11:52 AM To: CF-Talk Subject: Re: sending entire Form back on a url string I actually wrote that incorrectly... StructKeyArray(form

RE: How to obtain just the domain from a URL

2008-03-26 Thread Dan G. Switzer, II
: blogs.abcnews.com A while back I wrote a UDF for parsing a URL which will give you all sorts of information about the URI: http://blog.pengoworks.com/index.cfm/2006/9/27/CFMX-UDF-Parsing-a-URI-into-a -struct This will correctly parse the domain (and many other things) out of any valid URL, including

How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
Would I use a REGEX to achive this? Or some other method? Start with something like: http://www.popularmechanics.com/technology/military_law/4255750.html End up with: popularmechanics.com Example 2 Start: http://blogs.abcnews.com/politicalpunch/2008/03/dnc-official-cl.html End:

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
Regex would work. Using listGetAt(url, 3, '/') with as the delimiter would also work. Nic Nate Willard wrote: Would I use a REGEX to achive this? Or some other method? Start with something like: http://www.popularmechanics.com/technology/military_law/4255750.html End up

Re: How to obtain just the domain from a URL

2008-03-25 Thread Charlie Griefer
listGetAt(url, 2, '/') since CF ignores empty list attributes, no? On Tue, Mar 25, 2008 at 5:27 PM, Nicholas M Tunney [EMAIL PROTECTED] wrote: Regex would work. Using listGetAt(url, 3, '/') with as the delimiter would also work. Nic Nate Willard wrote: Would I use a REGEX to achive

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote: listGetAt(url, 2, '/') since CF ignores empty list attributes, no? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: How to obtain just the domain from a URL

2008-03-25 Thread Web Specialist
= 'http://www.correios.com.br' cfdump var=#getToken( fullURL, 2, '//' )# Cheers Marco Antonio On Tue, Mar 25, 2008 at 9:40 PM, Nicholas M Tunney [EMAIL PROTECTED] wrote: Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote: listGetAt(url, 2, '/') since CF ignores empty

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
PROTECTED] wrote: I really love GetToken: Cheers Marco Antonio On Tue, Mar 25, 2008 at 9:40 PM, Nicholas M Tunney wrote: Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote: listGetAt(url, 2, '/') since CF ignores empty list attributes

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
listGetAt(url, 2, '/') works very well too, thanks! it does return the www. though, is there a way in the same line to remove the www without needed a www. replace ? Thanks Nicholas M Tunney [EMAIL PROTECTED] wrote: Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote

RE: How to obtain just the domain from a URL

2008-03-25 Thread William Seiter
, March 25, 2008 6:04 PM ::To: CF-Talk ::Subject: Re: How to obtain just the domain from a URL :: ::listGetAt(url, 2, '/') works very well too, thanks! it does return the ::www. though, is there a way in the same line to remove the www without ::needed a www. replace :: ::? :: ::Thanks :: ::Nicholas

Re: How to obtain just the domain from a URL

2008-03-25 Thread Charlie Griefer
this as well, though. ::-Original Message- ::From: Nate Willard [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, March 25, 2008 6:04 PM ::To: CF-Talk ::Subject: Re: How to obtain just the domain from a URL :: ::listGetAt(url, 2, '/') works very well too, thanks! it does return the ::www

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
The problem is that you wanted the server name in your blog.whatever.com, but not in www.whatever.com. Behavior would need to be consistent, or remove www. after the fact. HTH, Nic Nate Willard wrote: listGetAt(url, 2, '/') works very well too, thanks! it does return the www. though

Re: How to obtain just the domain from a URL

2008-03-25 Thread Web Specialist
hehehe: Try this: cfset fullURL = 'http://www.correios.com.br' cfdump var=#ReplaceNoCase( getToken( fullURL, 2, '//' ), 'www.', '', 'one' )# Cheers Marco Antonio On Tue, Mar 25, 2008 at 10:04 PM, Nate Willard [EMAIL PROTECTED] wrote: listGetAt(url, 2, '/') works very well too, thanks

Re: How to obtain just the domain from a URL

2008-03-25 Thread Casey Dougall
cfscript domain = ReplaceNoCase(CGI.SERVER_NAME,www.,,ALL); /cfscript I can't imagin a domain name starting with anything other than that... Or maybe you want www, Of course www. should be setup as a CNAME for @ or what's the point of www. anyway. Casey

Bots URL Strings...

2008-03-05 Thread Che Vilnonis
Take the following query string from an error report I recieve: Template: /index.cfm Query String: Mode=ScoresByWeekClassID=http%3A%2F%2Fsahel55.com%2Farticles%2Fomaduro%2Fki mumid%2F When a bot hits the site and passes their spam in the URL, an error is generated and an error page is presented

Re: Bots URL Strings...

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, Che Vilnonis wrote: That said, what do *you* do to fail gracefully but not to receive hundreds of spammy emails every day on your web sites? cfif cgi.query_string contains 'http://' -- Tom Chiverton Helping to adaptively implement scalable partnerships on:

Re: Bots URL Strings...

2008-03-05 Thread Claude Schneegans
That said, what do *you* do to fail gracefully I do not fail gracefully, I counter-attack aggressively ;-) This is my code at the beginning of any template that relies on some numeric url parameter. but it can be easily adapted for any kind of string parameter. !--- Check if id contains

Ability to obtain the width height of an Image given a URL to the image

2008-03-03 Thread Graham Bates
Issue:9276 In this issue: Ability to obtain the width height of an Image given a URL to the image ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

RE: Ability to obtain the width height of an Image given a URL to the image

2008-03-03 Thread Dave Francis
I can't remember for sure, but I'm pretty sure cfx_image (or it might be cfx_imageinfo) will give you the dimensions. You might need absolute path rather than URL - again can't remember for sure. -Original Message- From: Graham Bates [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008

Re: Ability to obtain the width height of an Image given a URL to the image

2008-03-03 Thread Nate Willard
-talk [mailto:[EMAIL PROTECTED] Sent: 03 March 2008 04:00 To: cf-talk Subject: ColdFusion Talk (CF-Talk): Digest every hour ColdFusion Talk (CF-Talk) 02-Mar-08 Issue:9276 In this issue: Ability to obtain the width height of an Image given a URL to the image

Ability to obtain the width height of an Image given a URL to the image

2008-03-02 Thread Nate Willard
Hello, I've been unsuccessful in CF7 to be able determine an image's dimensions given a URL to the image. I tried imageCFC and had no luck. I also tried some Java tricks online but had no luck. Can anyone suggest a solution? Thanks

RE: OT - URL Rewriting, how many rules?

2008-02-29 Thread Adrian Lynch
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

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. I have a URL in the form

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

2008-02-29 Thread Adrian Lynch
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

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

2008-02-29 Thread Russ
?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

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

2008-02-29 Thread Jordan Michaels
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

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

2008-02-29 Thread Barney Boisvert
(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

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

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

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

2008-02-29 Thread Ben Doom
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

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

2008-02-29 Thread Adrian Lynch
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

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't

OT - URL Rewriting, how many rules?

2008-02-28 Thread Adrian Lynch
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

RE: OT - URL Rewriting, how many rules?

2008-02-28 Thread Dave Watts
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

Re: OT - URL Rewriting, how many rules?

2008-02-28 Thread Barney Boisvert
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

Re: OT - URL Rewriting, how many rules?

2008-02-28 Thread Barney Boisvert
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

RE: a sIMPLER url?

2008-02-14 Thread Andy Matthews
: Re: a sIMPLER url? Remember, you have to make sure that you've got the ISAPI_rewrite module available to you. Your host can tell you if it's installed. Heh - the IT guys running the server (Law Firm) don't claim to be IIS Admins. I know my way around the CF Administrator OK enough to get

a sIMPLER url?

2008-02-13 Thread Les Mizzell
I started with this: http://www.mysite.com/seminar.cfm?id=Foreign08 Upon client request, I rewrote it to this: http://www.mysite.com/seminar.cfm/Foreign08 Now they want this: http://www.mysite.com/seminar/Foreign08 I've not been able to figure a way to do it without the .cfm extension.

Re: a sIMPLER url?

2008-02-13 Thread Alan Rother
Put seminar.cfm into a folder named seminar and rename it to index.cfm that will work -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe®

Re: a sIMPLER url?

2008-02-13 Thread Alan Rother
opps hit send too soon. That will work IF you go back to using the ?id=Foreign08 -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8

RE: a sIMPLER url?

2008-02-13 Thread Andy Matthews
editor, paste those lines inside it, then in the filename box, type .htaccess (INCLUDING the quotes). andy -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 10:23 AM To: CF-Talk Subject: a sIMPLER url? I started with this: http

RE: a sIMPLER url?

2008-02-13 Thread Andy Matthews
Les... I recently implemented SES URLS via my hosts ISAPI_rewrite module (for IIS only). It took me a little while to figure out to do it, but once I got it, it works great. My original URL looked like this: www.site.com/shirts.cfm?name=myshirt I rewrote it to this: www.site.com/shirts/myshirt

Re: a sIMPLER url?

2008-02-13 Thread Les Mizzell
That will work IF you go back to using the ?id=Foreign08 That's what they don't want. Actually, if they could really get their way, it would be: www.mysite.com/Foreign08 - but that obviously ain't gonna happen. ~| Adobe®

Re: a sIMPLER url?

2008-02-13 Thread Charlie Griefer
On Feb 13, 2008 8:23 AM, Les Mizzell [EMAIL PROTECTED] wrote: I started with this: http://www.mysite.com/seminar.cfm?id=Foreign08 Upon client request, I rewrote it to this: http://www.mysite.com/seminar.cfm/Foreign08 Now they want this: http://www.mysite.com/seminar/Foreign08 I've not

Re: a sIMPLER url?

2008-02-13 Thread Les Mizzell
- but the URL is being generated dynamically on another page. Foreign08 could be anything from the database. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

Re: a sIMPLER url?

2008-02-13 Thread Casey Dougall
do this a bunch because I don't have access to webserver URL rewrite tools a lot of the time, and it goes a little something like this. 1) Person makes a post, take the tile and clean up the text with some regex, also making it lowercase. cfset FileName = LCase(Cleaned.Title) 2) Find

RE: a sIMPLER url?

2008-02-13 Thread Will Swain
There's an article in the latest FAQU about using onMissingTemplate to do this sort of thing. I haven't read it yet, but it's just another reason, if you need any, to subscribe. Will ~| Adobe® ColdFusion® 8 software 8 is the

RE: a sIMPLER url?

2008-02-13 Thread Andy Matthews
Doesn't matter. You simply determine what all of the possibilities are and account for them in regex. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 11:07 AM To: CF-Talk Subject: Re: a sIMPLER url? I rewrote it to this: www.site.com

Re: a sIMPLER url?

2008-02-13 Thread Les Mizzell
OK...here's what I've got: In my root folder (www.mysite.com) file: httpd.ini [ISAPI_Rewrite] RewriteRule (.*)/seminar/(.*)/ $1/seminar.cfm?VAR=$2 I try to go to: http://www.mysite.com/seminar/foreign08 and I get 404 - not found... Just to check - trying the full address:

RE: a sIMPLER url?

2008-02-13 Thread Andy Matthews
Nope... You're not matching SPECIFIC strings, you're using regex to match anything after the /seminar/ The URL can be whatever you like As long as you've got this in your ini file, then you're golder: [ISAPI_Rewrite] RewriteRule (.*)/seminar/(.*)/ $1/seminar.cfm?yourvar=$2 This code

Re: a sIMPLER url?

2008-02-13 Thread Les Mizzell
Andy Matthews wrote: Doesn't matter. You simply determine what all of the possibilities are and account for them in regex. Still a little confused: www.mysite.com/seminar/#EVENT_CODE# Could be 300 records in the database, with stuff being added and deleted on an ongoing bases at any time.

Re: a sIMPLER url?

2008-02-13 Thread Josh Nathanson
and I get 404 - not found... I think you need to remove that trailing slash in the rewrite rule, if it will not be present on the request url: RewriteRule (.*)/seminar/(.*) $1/seminar.cfm?VAR=$2 -- Josh ~| Adobe

RE: a sIMPLER url?

2008-02-13 Thread Andy Matthews
Remember, you have to make sure that you've got the ISAPI_rewrite module available to you. Your host can tell you if it's installed. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 12:58 PM To: CF-Talk Subject: Re: a sIMPLER url? OK

Re: a sIMPLER url?

2008-02-13 Thread Matt Robertson
the url looking for a string. When it finds the string it branches accordingly. You would think that using cfhttp like this is really resource intensive but it has proven not to be via experience. Since I am querying 'myself' with it essentially, the load has proven to be negligible. !--- make

Re: a sIMPLER url?

2008-02-13 Thread Les Mizzell
Remember, you have to make sure that you've got the ISAPI_rewrite module available to you. Your host can tell you if it's installed. Heh - the IT guys running the server (Law Firm) don't claim to be IIS Admins. I know my way around the CF Administrator OK enough to get in trouble, but I

Re: a sIMPLER url?

2008-02-13 Thread Charlie Griefer
On Feb 13, 2008 4:24 PM, Les Mizzell [EMAIL PROTECTED] wrote: Remember, you have to make sure that you've got the ISAPI_rewrite module available to you. Your host can tell you if it's installed. Heh - the IT guys running the server (Law Firm) don't claim to be IIS Admins. I know my way

Re: a sIMPLER url?

2008-02-13 Thread Matt Quackenbush
On Feb 13, 2008 6:27 PM, Charlie Griefer wrote: On Feb 13, 2008 4:24 PM, Les Mizzell wrote: Remember, you have to make sure that you've got the ISAPI_rewrite module available to you. Your host can tell you if it's installed. Heh - the IT guys running the server (Law Firm) don't claim

Re: passing URL variables to a cfwindow

2008-02-12 Thread Steve Good
, IE7 works well while the other two not. Is it possible to pass variables through the URL scope to a cfwindow? If so, how? Thanks! :) -- ~Steve ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: passing URL variables to a cfwindow

2008-02-12 Thread Don L
Glad you worked it out. Ok, I have my initial problem solved with passing data to my cfwindow. Thanks for the help! Starting a new thread for the next road block I am having. ~Steve Steve Good wrote: ~| Adobe®

Re: passing URL variables to a cfwindow

2008-02-12 Thread Steve Good
. The problem in my experience lies in multiple browser support, for instance, for the CFWINDOW tag, for the type of Tab, I don't know if Adobe have done extensive testing with Firefox and Safari, IE7 works well while the other two not. Is it possible to pass variables through the URL

RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
Ok, I see what you mean, but if you do it this way, won't the session.form structure disappear in the same time the form structure will? No, both Form and Session.form will be references to the same object, which actually contains the form data. The Form reference will go out of scope, but

Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
You should only have to copy structures by value (using either StructCopy or Duplicate) if you want to maintain two separate structures, so that changes to one don't affect the other. That is not the case here. Ok, I see what you mean, but if you do it this way, won't the session.form structure

RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
I think I tried first with structCopy ans encountered some problem, I don't remember which one, so I changed for StructDuplicate. This was years ago. Anyway, since the form scope is not supposed to contain structures, the two functions are equivalent. You shouldn't have to copy the Form

Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
You shouldn't have to duplicate the form. Just copy it into the Session scope. I think I tried first with structCopy ans encountered some problem, I don't remember which one, so I changed for StructDuplicate. This was years ago. Anyway, since the form scope is not supposed to contain

Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
Stick the form in the session scope maybe? Definitely: To save the form: CFSET session.form = Duplicate(form) Then in the form action template: CFIF isDefined(session.form) !--- For some unknown reason, duplicate() doesn't work here --- CFLOOP COLLECTION=#session.form# ITEM=field

Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
but the object will remain in the heap because it has another reference. Ah ok, I see. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
To save the form: CFSET session.form = Duplicate(form) You shouldn't have to duplicate the form. Just copy it into the Session scope. The original form will go out of scope after the page has completed, so you don't have to worry about accidentally changing one variable by referencing the

Re: passing URL variables to a cfwindow

2008-02-11 Thread Don L
support, for instance, for the CFWINDOW tag, for the type of Tab, I don't know if Adobe have done extensive testing with Firefox and Safari, IE7 works well while the other two not. Is it possible to pass variables through the URL scope to a cfwindow? If so, how? Thanks! :) -- ~Steve

Re: sending entire Form back on a url string

2008-02-11 Thread Greg Luce
- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 08 February 2008 19:23 To: CF-Talk Subject: RE: sending entire Form back on a url string But isn't there a finite limit on how many characters you can put in a URL string? Yes, and my understanding is that the limit is browser-specific

RE: sending entire Form back on a url string

2008-02-11 Thread Will Swain
Thanks guys. Bearing in mind that limit, is there a better way? Stick the form in the session scope maybe? Cheers Will -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 08 February 2008 19:23 To: CF-Talk Subject: RE: sending entire Form back on a url string

RE: Pound signs in URL variables?

2008-02-10 Thread Dave Watts
The trick is, I'm finding that there are data bits out there that have a pound sign in them. An example I'm working on now - one variable has the value '!$#$!'. (Don't ask. Long story.) But when doing a dump of the URL structure, it only shows '!$'. The hash character is a URL

Pound signs in URL variables?

2008-02-10 Thread Scott Weikert
hosting account. I've got a page there that catches the data in the URL and does what it does with it. The trick is, I'm finding that there are data bits out there that have a pound sign in them. An example I'm working on now - one variable has the value '!$#$!'. (Don't ask. Long story.) But when

Re: passing URL variables to a cfwindow

2008-02-09 Thread Jose Diaz
any luck on this steve? I noticed the same problem but have not had time to delve any deeper. Jose On Feb 9, 2008 12:54 AM, Steve Good [EMAIL PROTECTED] wrote: Is it possible to pass variables through the URL scope to a cfwindow? If so, how? Thanks! :) -- ~Steve

Re: passing URL variables to a cfwindow

2008-02-09 Thread Steve Good
. Jose On Feb 9, 2008 12:54 AM, Steve Good [EMAIL PROTECTED] wrote: Is it possible to pass variables through the URL scope to a cfwindow? If so, how? Thanks! :) -- ~Steve ~| Adobe® ColdFusion® 8 software 8

<    2   3   4   5   6   7   8   9   10   11   >