>I use http://$ENV{'HTTP_HOST'}/
>
>Is better http://$ENV{SERVER_NAME}/  or more correct ?

HTTP_HOST works only if the client sends a http Host header and uses
whatever the clients has send, while SERVER_NAME uses the server name
configured in your httpd.conf, so it works always. (That's what Apache uses
also, when it has to generate a redirect)

Gerald




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to