Mail Index


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

Re: [ApacheGallery] help with chached files needed!



On Sun, Jun 20, 2004 at 06:26:46PM -0500, Tom Brown wrote:

> I tried the following
>   if ($r->uri =~ m/\.cache\//i) {
>   ...
>     if (MP2) {
>       $r->sendfile($file);
>       return Apache::OK;
>     }
>     else {
>       $r->path_info('');
>       $r->filename($file);
>       return Apache::Constants::DECLINED;
>     }
>   }
> which seemed to work quite well for me.

I applied this patch since it required less changes - and it seems
to work just perfectly. 

Thanks!

/Michael

-- 
hestdesign.info - we put the hest in .com
_______________________________________________
users mailing list
u[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers