Hi Jason I would temporarily change the Location directive toSCGIServer 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