Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashanan/shorten

A URL shortener written in several different languages.
https://github.com/ashanan/shorten

Last synced: about 2 months ago
JSON representation

A URL shortener written in several different languages.

Awesome Lists containing this project

README

        

This project is an attempt to explore various programming languages by writing the same non-trivial program (a url shortener) in a bunch of different ones.

Added the following rewrite rule in my apache configuration so that all paths starting with an underscore redirect to the script that handles the actual redirection.

RewriteRule ^/_(.*)/$ http://ashanan.com/shorten/php/redirect.php?id=$1
RewriteRule ^/_(.*)$ http://ashanan.com/shorten/php/redirect.php?id=$1