Graham Fawcett said: > > On Tue, 26 Oct 2004 10:12:17 -0600, VanLwrote: > > What is the best way to give quixote the root? > > Look to the CGI variables in each request's 'environ' dictionary. > Notably, request.environ['SCRIPT_NAME'] ought to be of help. > > I've sometimes wondered if Quixote requests ought to grow a new > method, local(), that would append the necessary prefix to a given URL > based on current CGI variables. Then you could call, e.g., > request.redirect(request.local('/foo')) and end up at the intended > location, irrespective of where the app was deployed. > > -- G I don't think that's what the OP was talking about, but I'll second that thought. I usually end up dropping such a function into a util module for a Qx app, so that internally, the app can use URLs that are 'rooted' to the application's root, rather than the webserver's root, and I don't have to worry about changing deployment models/locations. I think the OP was actually having an issue getting Apache to allow Qx to handle the request for "/"... I haven't tried this, and can't offer any help. Jason