What do the lighttpd logs say?
On 1/17/11 2:41 AM, sdonk wrote:
Hi to everybody, I'm facing with a curious problem with Lighttpd and static files serving. Media admin is served by Lighttpd, but mymedia is not served by Lighttpd. This is a snippet of my lighttpd.conf alias.url = ( "/mymedia/" => "/home/osmtools/mymedia/", "/media/" => "/usr/lib/python2.5/site-packages/django/contrib/ admin/media/", ) url.rewrite-once = ( "^(/media.*)$" => "/$1", "^(/mymedia.*)$" => "/$1", "^/favicon\.ico$" => "/media/favicon.ico", "^(/.*)$" => "/osmtools.fcgi$1", ) The result is that in the admin site css and js work well (http:// osmtool.com/admin) but in the user site neither the css and the js are loaded (http://osmtool.com). Any idea? Thanks Alex
-- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.