On Tue, Oct 29, 2013 at 06:16:54AM -0400, Jiri B wrote:
> Hi,
>
> how would we define specific install.conf for specific host?
> We could you rewrite rules based on client's IP but what
> based on other attributes (hwaddr...)?
>
> I was thinking if it would be possible to pass such values
> as HTTP headers values but our `ftp' seems to not allow us
> to define own HTTP headers.
>
> So... what is the plan?
The HTTP GET request can pass query arguments, so it would look like:
http:///install.conf?mac=xx:xx:xx:xx:xx:xx&...
That way a static file can be served or it can be generated by a CGI
script.