Hi! I would like to be able to write things like this in my
lighttpd.conf:
server.port = env.LIGHTTPD_PORT
That is not possible at the moment, since env.* gets
interpreted as a
string, and lighttpd is expecting a short.
The patch attached to this mail (taken against
svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x, rev
2000)
makes lighttpd attempt to convert string values to short
values before
signaling an error.
Any chance of getting this patch accepted?
Cheers,
C
|