Check this out: http://www.djangoproject.com/documentation/static_files/
or simply do: In apache config (under the Location where you set up Django), put <FilesMatch "\.(css|gif|jpe?g|png)$"> SetHandler None </FilesMatch> and you are done :) On 1/29/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 1/28/07, NathanWithAnN <[EMAIL PROTECTED]> wrote: > > When I try to include an image like I would in any other website, the > > image does not display. How do I configure the urls to treat an > > image > > like an image so they can be displayed? > > If you're using Apache and mod_python, then for performance reasons > it's recommended that you serve images and other "media" files like > JavaScript and stylesheets from a separate web server instance; for > example, the Journal-World's website at http://www.ljworld.com/ serves > all its images and other media from http://media.ljworld.com/. > > Under FastCGI, use URL rewriting (varies depending on the web server) > to either route requests to the Django FastCGI processes when Django > needs to process and serve a page, or to static files on disk when the > request is for an image or other media file. > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---