Hello Pillow,

I don't think you have to change the .htaccess at all, it should work
from the scratch:

<?php echo $html->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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to