Re: [PATCH] Add support for host aliases in config files
Daniel Barkalow <barkalow@iabervon.org> 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?
Show 5 quoted lines
> +------------
> + [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