Re: Subdirectory in /webroot/img/
On 5 Sie, 11:55, Preloader <[EMAIL PROTECTED]> wrote: > Hello Pillow, > > I don't think you have to change the .htaccess at all, it should work > from the scratch: You're right. The problem was that file on which I was testing didn't really exist ;) Thx ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Subdirectory in /webroot/img/
Hello Pillow, I don't think you have to change the .htaccess at all, it should work from the scratch: image('sub/test.png'); ?> Or directly access the file over the browser: http://mydomain.com/img/sub/test.png Regards, Christoph On 5 Aug., 09:54, Pillow <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to do subdirectory in my /webroot/img/. > > And my question is how should my /webroot/.htaccces (or /webroot/img/ > subdirectory/.htaccess ?) file look like? > > What I want is of course that I can access my images > throughhttp://example.com/img/subdirectory/some_file.jpg > > Thanks in advance, > Pillow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Subdirectory in /webroot/img/
Hi, I'm trying to do subdirectory in my /webroot/img/. And my question is how should my /webroot/.htaccces (or /webroot/img/ subdirectory/.htaccess ?) file look like? What I want is of course that I can access my images through http://example.com/img/subdirectory/some_file.jpg Thanks in advance, Pillow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---