packages: mercurial/mercurial-hgweb.config (NEW), mercurial/mercurial-hgweb...

zawadaa zawadaa at pld-linux.org
Thu Oct 13 21:02:07 CEST 2011


Author: zawadaa                      Date: Thu Oct 13 19:02:07 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- for mercurial-hgweb

---- Files affected:
packages/mercurial:
   mercurial-hgweb.config (NONE -> 1.1)  (NEW), mercurial-hgweb-httpd.config (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mercurial/mercurial-hgweb.config
diff -u /dev/null packages/mercurial/mercurial-hgweb.config:1.1
--- /dev/null	Thu Oct 13 21:02:07 2011
+++ packages/mercurial/mercurial-hgweb.config	Thu Oct 13 21:02:01 2011
@@ -0,0 +1,18 @@
+# The config file looks like this.  You can have paths to individual
+# repos, collections of repos in a directory tree, or both.
+#
+# [paths]
+# virtual/path = /real/path
+# virtual/path = /real/path
+#
+# [collections]
+# /prefix/to/strip/off = /root/of/tree/full/of/repos
+#
+# collections example: say directory tree /foo contains repos /foo/bar,
+# /foo/quux/baz.  Give this config section:
+#   [collections]
+#   /foo = /foo
+# Then repos will list as bar and quux/baz.
+#
+# Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
+# or use a dictionary with entries like 'virtual/path': '/real/path'

================================================================
Index: packages/mercurial/mercurial-hgweb-httpd.config
diff -u /dev/null packages/mercurial/mercurial-hgweb-httpd.config:1.1
--- /dev/null	Thu Oct 13 21:02:07 2011
+++ packages/mercurial/mercurial-hgweb-httpd.config	Thu Oct 13 21:02:01 2011
@@ -0,0 +1,24 @@
+
+        WSGIScriptAlias / /usr/lib64/mercurial/hgwebdir.cgi
+
+        <Directory /usr/lib64/mercurial>
+                AllowOverride All
+                Options ExecCGI
+                Order Deny,Allow
+                SetHandler cgi-script
+#               Deny from All
+                Allow from 192.168.*
+                Allow from All
+        </Directory>
+
+        DocumentRoot /home/services/hg
+
+        <Directory /home/services/hg>
+                Options FollowSymlinks Indexes
+                DirectoryIndex index.html
+
+                AllowOverride All
+                Order deny,allow
+                Allow from all
+        </Directory>
+
================================================================


More information about the pld-cvs-commit mailing list