On Wednesday, Dec 25, 2002, at 06:42 Europe/London, Mark A. Hershberger wrote:
I need the following patch to make caching work when serving up different virtual domains from the same configuration.Example: In OpenWeblog, I have ServerAlias *.openweblog.com in my apache.conf file. A different weblog is served based on the first part of the hostname. That is, "www.openweblog.com" is completely different than "george.openweblog.com". The following patch makes caching work in this situation. Without this patch, the page served depends on the first domain accessed using that path. *** lib/Apache/AxKit/Cache.pm.~1.8.~ Mon Dec 23 07:49:55 2002 --- lib/Apache/AxKit/Cache.pm Wed Dec 25 00:34:40 2002 *************** *** 25,31 **** local $^W; # suppress "Use of uninitialized value" warnings my $key = Digest::MD5->new->add( join(':', ! $r->get_server_name, $r->get_server_port, $xmlfile, @extras --- 25,31 ---- local $^W; # suppress "Use of uninitialized value" warnings my $key = Digest::MD5->new->add( join(':', ! $r->hostname, $r->get_server_port, $xmlfile, @extras Diff finished at Wed Dec 25 00:34:50 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
