-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
StoneyJackson edited this page Feb 8, 2012
·
6 revisions
- Quilt CGI
- Quilt dispatcher
- Quilt processor
- Quilt configuration
- Quilt dispatch rules
- Quilt documents
Quilt is invoked by directing a request through the Quilt CGI. The Quilt CGI is responsible for loading its configuration, loading the dispatch rules, constructing a request object, invoking the quilt dispatcher, and invoking the Quilt processor. The Quilt dispatcher matches the request against the dispatch rules. These rules identify the Quilt document that will handle the request. The Quilt processor loads and evaluates the quilt document, and returns the results to the requesting client.
A request to
http://a.server.com/cgi-bin/quilt.cgi/path/to/document
Is a request to quilt.cgi for
http://a.server.com/path/to/document
The location and name of the Quilt CGI can be hidden from clients by using URL rewriting mechanism. See TODO for more information.