
《hpr2904 :: DIY URL shortening》 - 免费馆藏音频
作者:klaatu
当前没有可用的音轨。请稍后再回来!
关于
Summary: Quick tip on how to shorten an URL without a silly SaaS
Source: [http://hackerpublicradio.org/eps.php?id=2904](http://hackerpublicradio.org/eps.php?id=2904)
Original audio: [http://archive.org/download/hpr2904/hpr2904\_source.flac](http://archive.org/download/hpr2904/hpr2904\_source.flac)
Make a directory to house your shortened URLs.
$ ssh example.com mkdir public_html/u
On demand, create a subdirectory for the shortened URL you want to create.
$ ssh example.com mkdir public_html/u/hpr
Create an HTTP redirect in an index.html file.
$ ssh example.com echo ""Shortened URL"" > www/u/hpr/index.html
Your shortened URL is example.com/u/hpr