Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Add support for host aliases in config files

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:14

Daniel Barkalow [off-list ref] writes:
+host.<name>.*::
+	These options provide a way to rewrite URLs when there is a
+	pattern of URLs with a common prefix which should be replaced
+	with a different prefix. For every 'alias' prefix given, any
You menat 'rewritebase' prefix here, isn't it?
+------------
+	[host "<host>"]
+		base = <actual url base>
+		rewritebase = <other url base>
+------------
[...]
+		else if (!strcmp(subkey, ".rewritebase"))
+			add_alias(host, xstrdup(value));
+	}
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help