Hi, I'm new to Django, and I'm trying to serve some flex content. I'm running mod_wsgi.
In particular, my urls.py looks like this: (r'^$', serve_main), > views.py looks like: def serve_main(request): > return render_to_response('index.html') index.html looks like: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="http://mysite.com/AC_OETags.js" language="javascript"></script> </head> ... </html> For reference, I've stored AC_OETags.js in my DocumentRoot /var/www/mysite.com/AC_OETags.js. Django is having trouble finding this AC_OETags.js file. I'm running Firefox, and I get a blank page -- when I inspect the page using Firebug, I find that the page hasn't loaded AC_OETags.js [as noted here http://www.judahfrangipane.com/blog/?p=59] -- it looks like Django is looking for me to handle these helper .js libraries: <div id="summary"><h1>Page not found <span>(404)</span></h1> <table class="meta"> <tr> <th>Request Method:</th> <td>GET</td> </tr> <tr> <th>Request URL:</th> <td>http://mysite.com/AC_OETags.js</td> </tr> </table> </div> <div id="info"><p> Using the URLconf defined in <code>django_wrapper.urls</code>, Django tried these URL patterns, in this order: </p> <ol> <li>^$</li> <li>^admin/</li> </ol> <p>The current URL, <code>/AC_OETags.js</code>, didn't match any of these.</p> I've also tried using the full path for the javascript src: /var/www/mysite.com/AC_OETags.js, but that doesn't work either. Using mod_wsgi, django is served out of /usr/local/deploy/my_django_code Thanks, and help would be appreciated! T.U. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---