Re: [Lurker-users] updating cache

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wesley W. Terpstra
Date:  
To: Silas Jantzen
CC: lurker-users
Subject: Re: [Lurker-users] updating cache
On Apr 25, 2006, at 5:43 AM, Silas Jantzen wrote:
> On 4/24/06, Wesley W. Terpstra < > wrote:
>> Actually, they do...
>> In some cases you need to use absolute URLs due to various annoying
>> HTTP facts of life.
> hello relative hosts/paths


... except that both javascript and HTTP redirects require a complete
URL.

>> However, a properly configured apache will always use the canonical
>> name of the host.
> I'd say that the reverse of your statement is true. A "properly
> configured" (if there is such a thing) Apache should have no
> pressing need to force a certain hostname (especially in a LAN/WAN
> situation as above,


... think about the effect what you propose would have on cookies.

Unfortunately, the web in general does not work when you have the
same server accessible from two names. It sucks. I agree. Sadly,
there's nothing to do to fix it, but live with it.

> Having UseCanonicalName enabled will cause Apache to force the URLs
> to use the hostname.


I thought it forces it to use the ServerName apache setting. I'm
pretty sure, even.

> In his example of having external users going to a fully-qualified
> host and internal going to a shortened name, UseCanonicalName
> should be Off so that Apache leaves the browser's presumed hostname
> as-is.


ServerName should be the FQDN. So, that means internal users get
redirected to the external name. This is good anyways to help you see
what 'www' actually loads when you punch it into your URL bar. If you
can't access the webserver by its public name, something is wrong I'd
say.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lurker-users mailing list

https://lists.sourceforge.net/lists/listinfo/lurker-users