working git-http-backend proxy poc code
[gwvp.git] / www / index.php
index 4f83001..cfe2386 100644 (file)
@@ -3,7 +3,27 @@
 // initial http file
 require_once("config.php");
 
+/* first determine the url, it will be something that does either or the following:
+ * 
+ * 
+ * 1. admin functions (create/delete repo)
+ * 2. user functions (patch pushes, pull requests)
+ * 3. gitweb functions (to display git web output)
+ * 4. git-http-backend functions (to interact with command line functions)
+ * 5. do we auth?
+ */
 
-echo "Hello moto";
+goWebGitBackEnd();
+
+/*
+echo "<pre>";
+echo "BASEURL: $BASE_URL\n";
+echo "CUSTOM\n";
+print_r($_SERVER);
+print_r($_REQUEST);
+
+
+echo "</pre>";
+*/
 
 ?>