SERVER_NAME cgi variable

walter harms wharms at bfs.de
Mon Jul 6 10:31:32 UTC 2009



Anna Martynova schrieb:
> Hello.
> I saw comments in the source, that you recommend to set SERVER_NAME variable
> before starting httpd server. But what to do in the case, when server has
> several addresses and I need to know, what address the client have
> requested?
> For example, Apache web server provides this, variable SERVER_NAME is
> request-specific. I understand, that busybox httpd is not Apache. :) But
> could you give some hint, how to get it?
> Thanks in advance.
> 
> 
> 

so far i remember, the apache evaluates the name in the request because
he may have several virtual hosts.
The idea behind busybox is that you have a one server/one name setup.

re,
 wh


More information about the busybox mailing list