My problem right now is how to get the script to run when a user enters 
myDomain.com/go.cfm?id=myUrlId into the address bar.  Otherwise the user would 
get a "page not found" error.

BTW, we are using Microsoft Windows server 2000 running IIS.  Can we still make 
myDomain.com/go/myUrlId?

Johnny

> Just need a database that records an ID and a full URL, a form that
> will accept a URL and return the matching ID, and a script that will
> accept an ID and CFLOCATION to the associated URL.  Pretty simple
> really.
> 
> Probably want to dress the redirect script up with mod_rewrite or
> something so you can do myDomain.com/go/myUrlId, rather than
> myDomain.com/go.cfm?id=myUrlId, but that's a bonus.
> 
> cheers,
> barneyb
> 
> On 8/4/05, Johnny Le <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I saw several sites that allow you to create short URLs.  You enter 
> a long URL and it generates a short URL for you.  How do we go about 
> to do that?  Can you point me to the right direction?
> > 
> > Johnny
> > 
> -- 
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
> 
> Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213809
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to