SERVER_NAME cgi variable

Anna Martynova terrible.broom at gmail.com
Mon Jul 6 11:30:23 UTC 2009


It's exactly what I need, thank you!

2009/7/6 Tobias Poschwatta <tp at fonz.de>

> On Mon, Jul 06, 2009 at 02:41:41PM +0400, Anna Martynova wrote:
> > 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...
>
> You can use the HTTP_HOST environment variable for this. It's set per
> request and contains the value of the Host header.
>
> Tobias
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090706/0e09ff1f/attachment.htm>


More information about the busybox mailing list