Sunday, June 20, 2010

Django with passenger and Staticgenerator ( in dreamhost)

Hi,

I am trying to use the staticgenerator for my django site.
http://nemesisdesign.net/blog/coding/setup-django-staticgenerator-apache-mod_wsgi/

But that config is not working in my Dreamhost PS, since the link
contains only for apache-wsgi-django.
In Dreamhost, passenger is there.
I am not sure what difference the passenger does but anyway i added
the entries in my virtualhost.
and set the WEB_ROOT in settings.py

But, i got a strange situation
The issue in all is that the static cache is getting generated but the
files are recached every time i refresh my site.
Seems i need something to do in the Passenger level.

Or i think i put the rewrite rules in the wrong place.
Heres my apache config---->http://pastebin.com/zyqPiwX0

Can anyone help me in this pls?
If the staticgenerator works my site will handle 6000-7000 requests
per sec.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate