[packages/viewvc] add VIEWVC_CONF_PATHNAME sample

glen glen at pld-linux.org
Sun Jun 14 19:54:23 CEST 2015


commit b27bf7b405eb95307871812124bd27f999dc3950
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jun 14 20:54:10 2015 +0300

    add VIEWVC_CONF_PATHNAME sample

 apache.conf | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/apache.conf b/apache.conf
index f4da2c9..5b5dc05 100644
--- a/apache.conf
+++ b/apache.conf
@@ -1,7 +1,11 @@
+# Setup access to resources
 <Directory /usr/share/viewvc>
 	AllowOverride None
 	Options +FollowSymlinks
 
+	# You can override configuration file location using:
+	#SetEnv VIEWVC_CONF_PATHNAME /etc/viewvc.conf
+
 	# Apache 1.3, 2.x
 	<IfModule !mod_authz_core.c>
 		Order allow,deny
@@ -13,6 +17,9 @@
 	</IfModule>
 </Directory>
 
+
+# Map paths to resources
+
 # Version1 (default): under /cgi-bin/viewvc.cgi address
 ScriptAlias /cgi-bin/viewvc.cgi /usr/share/viewvc/bin/cgi/viewvc.cgi
 ScriptAlias /cgi-bin/viewvc-query.cgi /usr/share/viewvc/bin/cgi/query.cgi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/viewvc.git/commitdiff/b27bf7b405eb95307871812124bd27f999dc3950



More information about the pld-cvs-commit mailing list