From: fruity <fr...@fr...> - 2009-12-21 02:27:18
|
Hello, I downloaded the yaws-1.86 tarball I souced the original ubuntu package and overwritten the debian/ directory I checked the patches from debian/ubuntu against this version and updated those, I should have downloaded the sid source and maybe it whould have been quicker but I don't have a debian platform... I compiled and repackaged ( dpkg-buildpackage -rfakeroot -us) and everything went fine. Installed, tested with static files, working I followed http://wiki.github.com/klacke/yaws/run-django-under-yaws Now I see the main page but no links of my django project works... I've try to run django normally ( runserver not fcgi ) and everything works fine but with yaws. When I try to serve django as fcgi with yaws I only see my main view/url ( the index for the non django users ) and nothing else, anything else than static media files redirect me to my main view/url I fired up yaws with -i --conf /etc/yaws/yaws.conf and in the shell I see: yaws:Failed to send 3174 bytes: "C5F\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 ....." on socket #Port<0.796>: {error, closed} ["C5F","\r\n","#Bin(3167)","\r\n"] It's like that the django dispatcher does not interact with yaws... Is anyone else running django with yaws? Thank you all very much for your time. |