On Dec 11, 2006, at 11:04 AM, [EMAIL PROTECTED] wrote:

>
> For some reason... my javascript and css files are being rendered
> through my default view instead of being served as javascript and css.
> So instead of getting file.css, i get an html file, which of course
> states that I have a missing controller.
>
> I am using the recommended method for linking my files:
> $javascript->link
> $html->css

What is the URL rendered out by the helper, and what happens when you  
pull up that URL?

Most of the time, those folders are in /app/webroot/js or /css, and  
are accessed at /js and /css.

> Obviously this is something that i have managed to muk-up, as it just
> started, but i can't think of anything I've done that would affect
> this.

Might be a mod_rewrite issue.

> Any suggestions would be appretiated.
>
> Also a more general question; How(where) does cake distinguish
> (non-cake) css, javascript, and img requests, from html (cake related)
> requests.

Anything in /app/webroot/ is served up as requested, other things are  
handled by the dispatcher.

-- John

--~--~---------~--~----~------------~-------~--~----~
 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