Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Antony Roberts committed Jun 3, 2016
0 parents commit d139598
Show file tree
Hide file tree
Showing 29 changed files with 5,497 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ping.api ping.php?action=$1 [L,NC,QSA]
RewriteRule ^pong.api ping.php?action=$1 [L,NC,QSA]
RewriteRule ^peers.api peers.php?action=$1 [L,NC,QSA]
RewriteRule ^([a-zA-Z0-9\-]{4,9})$ index.php?action=jump&item=$1 [L,NC,QSA]
RewriteRule ^v2/url.api$ index.php?action=url [L,NC,QSA]
RewriteRule ^style.css$ style.css [L,NC,QSA]


RewriteEngine On
RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9\-]{4,9}).jump.(.*?)$
RewriteRule .* index.php?action=jump&subdomain=1 [L,NC,QSA]




1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Jump URL Shortened API ~ http://jump.labs.coop
Loading

0 comments on commit d139598

Please sign in to comment.