diff --git a/html5video/.htaccess b/html5video/.htaccess
new file mode 100644
index 0000000..50c1f49
--- /dev/null
+++ b/html5video/.htaccess
@@ -0,0 +1,2 @@
+Options +ExecCGI
+AddHandler cgi-script .cgi
diff --git a/html5video/getgpx.cgi b/html5video/getgpx.cgi
new file mode 100755
index 0000000..fe700f6
--- /dev/null
+++ b/html5video/getgpx.cgi
@@ -0,0 +1,4 @@
+#!/bin/sh
+echo Content-Type: application/octet-stream;charset=utf-8
+echo
+curl -s "$1"