hpr2904 :: DIY URL shortening - Бесплатное архивное аудио

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