www.antiwrap.com

:) tw

On 8/4/05, Johnny Le <[EMAIL PROTECTED]> wrote:
> Wouldn't this be a problem if you have multiple sites on your server?
> 
> Johnny
> 
> >Barney Boisvert wrote:
> >
> >For what it's worth, I've done this in Apache with a 404 error page -
> >the only problem with that is it is a 404 error =)
> >
> >so something like www.foo.com/index.cfm would contain your tinyurl
> >creation form and then the url could be www.foo.com/523
> >
> >Apache can't find a file or directory named 523 so it loads the 404
> >error page, which I've configured to be "/404.cfm".
> >
> >The main url is still available, so then I just
> >
> ><cfset urlid = getFileFromPath(cgi.script_name) (or cgi.path_info, I
> >can't remember which) and do the database query and then redirect.
> >
> >mod_rewrite is probably much nicer way to do it =)
> >
> >Rick
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213801
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