On Sep 28, 12:23 pm, Karen Tracey <
kmtra...@gmail.com> wrote:
> You need to ensure that the requests for your JavaScript files match the
> pattern you have specified here for files to be served by the static
> server. Earlier you said your MEDIA_URL is blank, which may be the
> problem. If you are using MEDIA_URL to construct the path to your
> JavaScript files then to match that pattern, MEDIA_URL should be
> '/site_media/'.
>
> Note you should be able to see the requests for the JavaScript files logged
> in the development server console. What do they look like?
O.K. I've set MEDIA_URL to '/site_media/'. This is what's turning up
in the console when I open a page using Javascript (specifically, the
'Add Page' form for Pages CMS):
----------
[28/Sep/2009 13:18:33] "GET /admin/pages/page/add/ HTTP/1.1" 200 13403
[28/Sep/2009 13:18:33] "GET /admin/jsi18n/ HTTP/1.1" 200 803
[28/Sep/2009 13:18:33] "GET /site_media/pages/css/rte.css HTTP/1.1"
304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/css/pages.css HTTP/1.1"
304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/jquery.js
HTTP/1.1" 304
0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/jquery.rte.js
HTTP/1.1"
304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/
jquery.query.js HTTP/1.
1" 304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/pages.js HTTP/
1.1" 304
0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/pages_form.js
HTTP/1.1"
304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/
jquery.bgiframe.min.js
HTTP/1.1" 304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/
jquery.ajaxQueue.js HTT
P/1.1" 304 0
[28/Sep/2009 13:18:33] "GET /site_media/pages/javascript/
jquery.autocomplete.min
.js HTTP/1.1" 304 0