Craig Lambie
asked on
URL Rewrite Rules
Hi Experts,
I am considering making a simple URL shortner service, in the style of bit.ly.
I am wondering on the easiest method of doing this URL re-writing.
I am familiar with .Net and a little PHP, and moving towards using more Open Source languages as I am falling in love with MySQL over MSSQL more and more.
I assume that it is a simple URL 301 redirect that happens when bit.ly creates a short URL, or a header redirect.
So my question is What server is best for SEO/ programming redirects - IIS or Apache?
I am considering making a simple URL shortner service, in the style of bit.ly.
I am wondering on the easiest method of doing this URL re-writing.
I am familiar with .Net and a little PHP, and moving towards using more Open Source languages as I am falling in love with MySQL over MSSQL more and more.
I assume that it is a simple URL 301 redirect that happens when bit.ly creates a short URL, or a header redirect.
So my question is What server is best for SEO/ programming redirects - IIS or Apache?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I sure don't. There isn't any reason why you couldn't write a URL shortener in any language though... in order for a scripting language to be viable, it has to have the capabilities of doing whatever you want it to do...
I would expect that there are URL shorteners out there written in nearly every available language.
I would expect that there are URL shorteners out there written in nearly every available language.
ASKER
Thanks for your contribution Andrew.
I am going to leave this question open for a day or two, I will allocate 250 points to you for your contribution, and if I get another answer, I will increase the points and distribute :)
I am going to leave this question open for a day or two, I will allocate 250 points to you for your contribution, and if I get another answer, I will increase the points and distribute :)
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Btw, to answer your question of what language BIT.LY is written in, I can't find the answer easily yet, but my guess is either Java or Python, which would scale really well and give the fastest possible response time -- way better than PHP at that uber-level of hits.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks to all for your contributions
ASKER
Do you know what language bit.ly or others are written in?