Anna Martynova schrieb: > 2009/7/6 walter harms <[email protected]> > >> >> 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 >> > > You are right, but at least busybox host can have several network > interfaces. :) > I need to make a link for client, that directs to the same host, but > different port. It would be nice to link to the same server address, that > client entered to his browser... > http://shiflett.org/blog/2006/mar/server-name-versus-http-host
so you need SERVER_PORT (apache) ? for the diff between HTTP_HOST and SERVER_NAME see: http://shiflett.org/blog/2006/mar/server-name-versus-http-host re, wh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
