durusmail: quixote-users: CGI interface to SCGI server
CGI interface to SCGI server
2003-02-05
2003-02-05
CGI interface to SCGI server
David M. Cooke
2003-02-05
On Wed, Feb 05, 2003 at 01:19:51PM -0500, Neil Schemenauer wrote:
> On Wed, Feb 05, 2003 at 01:05:07PM -0500, David M. Cooke wrote:
> > It does require some modifications to the QuixoteHandler used by
> > quixote (since CGI scripts set PATH_INFO, while mod_scgi doesn't); see
> > the quixote/ directory in the source for demo_scgi.py that works with
> > this and mod_scgi.
>
> Nice job.  Is there some way we can fix QuixoteHandler so it works with
> either mod_scgi or scgi-cgi?  Could it be as simple as checking if
> PATH_INFO is non-empty?

The demo_scgi.py I've included with scgi-cgi does that. It works for both.

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm@physics.mcmaster.ca

reply