> Is that running by runserver:8000?
Yep!
> Is your django dev server serving static files?
Yes, django server is serving static files, in my urlpatterns = patterns('',
(r'^js/(?P<path>.*)$', 'django.views.static.serve',{'document_root':
'/home/django/work/fw/media/'}),
(r'^css/(?P<path>.*)$', 'django.views.static.serve',{'document_root':
'/home/django/work/fw/media/'}),
> What log file is show?
error_log (for apache):
[Mon Aug 06 14:25:01 2007] [error] [client xx.yy.zz.vv] File does not
exist: /usr/local/apache2/htdocs/css, referer:
http://myserver.com/ezlecenie/zlecenia/strona1/
[Mon Aug 06 14:25:01 2007] [error] [client xx.yy.zz.vv] File does not
exist: /usr/local/apache2/htdocs/js, referer:
http://myserver.com/ezlecenie/zlecenia/strona1/
So it's obviously looking on the main (running proxy) server for static
files, not on django server.
This is my mod_proxy setup:
<IfModule mod_proxy.c>
ProxyRequests On
ProxyPass /ezlecenie/ http://192.168.1.2:8000/
ProxyPassReverse /ezlecenie/ http://192.168.1.2:8000/
</IfModule>
Przemek
--
AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin
info: http://www.tanren.pl/ phone: +48501516666 email: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---