Commit Graph

5 Commits

Author SHA1 Message Date
Eric Hopper
4498f60ff4 This patch make several WSGI related alterations.
First, it changes the server to be almost a generic WSGI server.

Second, it changes request.py to have wsgiapplication and
_wsgirequest.  wsgiapplication is a class that creates _wsgirequests
when called by a WSGI compliant server.  It needs to know whether
or not it should create hgwebdir or hgweb requests.

Lastly, wsgicgi.py is added, and the CGI scripts are altered to
use it to launch wsgiapplications in a WSGI compliant way.

As a side effect, all the keepalive code has been removed from
request.py.  This code needs to be moved so that it is exclusively
in server.py
2006-06-27 00:09:33 -07:00
Vadim Gelfer
3052663b45 hgwebdir: export collections of repos
now you can use [collections] section in hgweb.config to export entire
tree of repos.
2006-02-10 11:25:07 -08:00
Thomas Arendsen Hein
6f4b50dd33 Documented passing list or dict instead of config file in hgwebdir.cgi 2005-08-29 07:42:46 +02:00
Thomas Arendsen Hein
e2c0f61ae7 Removed obsolete imports from hgwebdir.cgi 2005-08-26 13:31:40 +02:00
mpm@selenic.com
e827a5700c Add a multi-repository server
This merges a bunch of the ideas for a multi-repository CGI script and
simplifies things a bit.

It uses PATH_INFO so it generally wants paths of the form:

http://host/hg.cgi/virtualpath

This gets mapped via a simple config file to the real path. All info
about the repo is read from the repo's hgrc.
2005-08-19 16:38:25 -08:00