Hacker Public Radio

HPR2904: DIY URL shortening


Listen Later

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 ""<html><title>Shortened URL</title><head><meta http-equiv='refresh' content='0; URL=http://hackerpublicradio.org/correspondents.php?hostid=78' /></head></html>"" > www/u/hpr/index.html
Your shortened URL is example.com/u/hpr
...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Infinite Monkey Cage by BBC Radio 4

The Infinite Monkey Cage

1,952 Listeners

Click Here by Recorded Future News

Click Here

418 Listeners

Hacker And The Fed by Chris Tarbell & Hector Monsegur

Hacker And The Fed

168 Listeners