Thank's a lot, the server contains SERVER_NAME but not SERVER_ADDR (I think it's also not specified in RFC 3875 - The Common Gateway Interface (CGI) Version 1.1) and there is no guarantee that every web server will provide any of these. The question is: Is SERVER_ADDR really necessary?
But I'll find a workaround.
best regards, Siegfried