[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mudar apg.qquer.coisa.br por 200.xxx.xxx.xxx



Em Sex, 2004-07-02 às 16:53, Marcelo Luiz de Laia escreveu:
> No entanto, em algumas ocasioes, ele troca o ip pelo nome do host
> seguido do dominio. Ja olhei nos arquivos de configuracao do Apache e
> nao encontrei nada.
> 
> Tem como alterar isto? Ou seja, fazer com que o debian pare de trocar
> o Ip da maquina pelo host seguido do domio?

Vc já tentou o "UseCanonicalName Off"?

Veja trecho do httpd.conf:

#
# UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
# Apache needs to construct a self-referencing URL (a URL that refers back
# to the server the response is coming from) it will use ServerName and
# Port to form a "canonical" name.  With this setting off, Apache will
# use the hostname:port that the client supplied, when possible.  This
# also affects SERVER_NAME and SERVER_PORT in CGI scripts.
#


-- 
Feng Sian <redbrick1 at terra dot com dot br>
Linux user #160781



Reply to: