jon, thanks for the suggestions. it's working now. well.. sort of. i get the following message once every two visits to the same page. Bad Request Your browser sent a request that this server could not understand. apache error log shows: [Thu Jul 08 12:32:44 2004] [error] [client 127.0.0.1] Invalid URI in request max-age=0 [Thu Jul 08 12:32:48 2004] [error] [client 127.0.0.1] Invalid method in request tastat/ttest_form [Thu Jul 08 12:33:03 2004] [error] [client 127.0.0.1] Invalid method in request tastat/ttest_form [Thu Jul 08 12:48:05 2004] [error] [client 127.0.0.1] Invalid method in request _form [Thu Jul 08 12:49:35 2004] [error] [client 127.0.0.1] Invalid method in request _form [Thu Jul 08 12:49:39 2004] [error] [client 127.0.0.1] Invalid method in request _form [Thu Jul 08 12:49:41 2004] [error] [client 127.0.0.1] Invalid method in request _form [Thu Jul 08 12:51:48 2004] [error] [client 127.0.0.1] Invalid URI in request e-Control: max-age=0 [Thu Jul 08 12:52:07 2004] [error] [client 127.0.0.1] Invalid URI in request ent-Type: application/x-ww it seems to be the same problem this person was having a year ago. http://mail.mems-exchange.org/pipermail/quixote-users/2003-August/001831.html is anyone that's using quixote with scgi + apache2 experiencing these problems? thanks, jason On Wed, Jul 07, 2004 at 10:19:22PM +0100, Jon Dyte wrote: > > Hi Jason > > I would temporarily change the Location directive to >> SCGIServer localhost 3001 > SCGIHandler On > > > and then MyAppHandler to > class MyAppHandler(QuixoteHandler): > publisher_class = Publisher > root_namespace = "quixote.demo" ##"deltastat" > prefix = "/mytest" ## match location directive > > and then try > http://localhost/mytest and you should see the quixote.demo > Then you can change quixote.demo to deltastat and work from there. > > you do not put the port(3001) in the browser URL , the port is what scgi > listens on, not the webserver. > > Jon > > > On Wednesday 07 July 2004 21:29, jbdunsmo@utmb.edu wrote: > > i'm trying to switch from fastcgi to scgi, but scgi is giving me > > problems. i have the following in my apache2.conf: > > > > LoadModule mod_scgi extramodules/mod_scgi.so > >> > SCGIServer localhost:3001 > > SCGIHandler On > > > > > > when i start the scgi server with the following command: > > .../server-scgi.py -p 3001 -l tmp.log > > > > server-scgi.py: > > #!/usr/bin/python > > from scgi.quixote_handler import QuixoteHandler, main > > from quixote.publish import Publisher > > from quixote import enable_ptl > > enable_ptl() > > class MyAppHandler(QuixoteHandler): > > publisher_class = Publisher > > root_namespace = "deltastat" > > prefix = "" > > if __name__ == '__main__': > > main(MyAppHandler) > > > > the following two processes are created: > > 11137 pts/0 S 0:00 /usr/bin/python ./server-scgi.py > > 11138 pts/0 Z 0:01 [server-scgi.py]> > > > then when i visit http://localhost:3001, the page doesn't load, the > > processor gets pegged out, and the log file gets filled with these > > messages: > > > > [2004-07-07 14:30:06] MyAppHandler created > > Error in setwd(dir) : cannot change working directory > > Execution halted > > [2004-07-07 14:31:57] MyAppHandler created > > Error in setwd(dir) : cannot change working directory > > Execution halted > > [2004-07-07 14:33:43] MyAppHandler created > > Error in setwd(dir) : cannot change working directory > > Execution halted > > > > any idea what the problem is? > > > > thanks, > > jason > > _______________________________________________ > > Quixote-users mailing list > > Quixote-users@mems-exchange.org > > http://mail.mems-exchange.org/mailman/listinfo/quixote-users >