httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: cvs commit: apache-1.3/src/main http_core.c
Date Thu, 21 Mar 2002 14:45:56 GMT

On 21 Mar 2002 minfrin@apache.org wrote:

> minfrin     02/03/21 06:37:43
>
>   Modified:    src      CHANGES
>                src/main http_core.c
>   Log:
>   Change ap_construct_url() so that the r->hostname is used in
>   the URL instead of the value of the ServerName directive. This
>   stops Apache redirecting to a different website name to the
>   one the user typed in, which can break cookies and javascript
>   handling on the client.


Perhaps I missed something here, but isn't this exactly what the
UseCanonicalName directive is for?  Why are you hard-coding this?

Joshua.



Mime
View raw message