]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/matita/netplex.conf
1) removed many debug prints
[helm.git] / matitaB / matita / netplex.conf
index 08b7481e60db6988f8a99759b7b42aea9fb9402d..858ea6e8e85c199d6badfd067f90f9e0369e507f 100644 (file)
@@ -12,7 +12,7 @@ netplex {
       name = "http";
       address {
         type = "internet";
-        bind = "0.0.0.0:9999";  (* Port 80 on all interfaces *)
+        bind = "0.0.0.0:9999";  (* Port 9999 on all interfaces *)
       };
     };
     processor {
@@ -27,7 +27,7 @@ netplex {
           path = "/";
           service {
             type = "file";
-            docroot = "/home/barolo/matitaB/matita";
+            docroot = "/home/matitaweb/matita/matita";
             media_types_file = "/etc/mime.types";
             enable_listings = true;
           }
@@ -60,6 +60,62 @@ netplex {
             handler = "bottom";
           }
         };
+        uri {
+          path = "/top";
+          service {
+            type = "dynamic";
+            handler = "top";
+          }
+        };
+        uri {
+          path = "/register";
+          service {
+            type = "dynamic";
+            handler = "register";
+          }
+        };
+        uri {
+          path = "/login";
+          service {
+            type = "dynamic";
+            handler = "login";
+          }
+        };
+        uri {
+          path = "/logout";
+          service {
+            type = "dynamic";
+            handler = "logout";
+          }
+        };
+        uri {
+          path = "/viewlib";
+          service {
+            type = "dynamic";
+            handler = "viewlib";
+          }
+        };
+        uri {
+          path = "/reset";
+          service {
+            type = "dynamic";
+            handler = "reset";
+          }
+        };
+        uri {
+          path = "/save";
+          service {
+            type = "dynamic";
+            handler = "save";
+          }
+        };
+        uri {
+          path = "/commit";
+          service {
+            type = "dynamic";
+            handler = "commit";
+          }
+        };
       };
     };
     workload_manager {