Many thanks for your response. > Do you want that to apply to absolutely any and all assets?
I would use this for all css, all js , all static image , all swf and all static content. No link , no form action etc. > > If so you could do something like this (could also do it in controller > afterFilter, or a helper after > render):http://trac.assembla.com/mi/browser/branches/base/controllers/compone... > I try this solution and it works fine for js and images for css I must change the regular expression but It's exaclty what I'm searching. Relative to files uploaded by users. I would also upload them on static server but I would keep the possibility to control the access to them (like Media View). Is it possible to do a thing like this or I am crazy? About this do you know if exists a behaviour for upload that allows me to uploaad file on an external server? Many Thanks Marco > Otherwise, you'd put some logic in your app helper url method (or any > other function common to the bits you want to modify) to inject the > host you want > > hth > > AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
