Commit Graph

13 Commits

Author SHA1 Message Date
Simone Bordet 8dddc2a3f6 Updated version to 1.0.1-SNAPSHOT. 2013-11-19 11:35:04 +01:00
Simone Bordet 9a04f993e7 Updated version to 1.0.0, and Jetty to 9.1.0.v20131115. 2013-11-19 11:27:58 +01:00
Simone Bordet bba639b371 Removed unnecessary examples and improved existing ones. 2013-11-06 11:22:27 +01:00
Simone Bordet 2808f37191 Removed unnecessary parameter "root". 2013-11-06 11:21:43 +01:00
Simone Bordet f5a4810bda Fixed generation of REQUEST_URI parameter, taking into account
forwarded or included URIs and the query string.
2013-11-05 09:07:02 +01:00
Simone Bordet 2228b4e03b Improved TryFilesFilter to use built-in Servlet API methods to
retrieve the files, in order to avoid filesystem vulnerabilities.
2013-11-05 09:05:52 +01:00
Simone Bordet 226c522451 Implemented a TryFilesFilter inspired by nginx's try_files directive.
This is needed by - for example - WordPress because it allows for
different permalinks schemes.
For example, /foo could be a permalink that should be directed to
PHP, while /favicon.ico is a file that must be served statically.
URI /foo would be matched by the default servlet resulting in a 404.
Therefore we need a filter mapped to /* that checks whether the
request URI is a file that exists and likely to be served by the
default servlet, otherwise it needs to rewrite the URL to something
like /index.php?p=/foo.
The rewrite filter does not have the functionality of "try the file,
if missing then rewrite" that is now implemented by the TryFilesFilter.
2013-10-31 19:54:59 +01:00
Simone Bordet f841b42fde Moved valorization of REQUEST_URI to the FastCGIProxyServlet,
since it needs to refer to possibly forwarded URIs.
2013-10-31 19:47:57 +01:00
Simone Bordet 98de7500f9 Made Generator.Result immutable. Now instead of holding a list and
being mutable, it is a single-linked list that is traversed
recursively.
2013-10-28 16:36:55 +01:00
Simone Bordet 4706ed5d87 Added example for running Drupal with SPDY and SPDY Push. 2013-10-25 12:54:35 +02:00
Simone Bordet 67d8a9a301 Add support for HTTPS FastCGI param. 2013-10-25 12:05:01 +02:00
Simone Bordet 7fe7c68e3b Fixed values for REQUEST_URI, DOCUMENT_URI and SERVER_NAME FastCGI
fields.

Added Drupal and WordPress working examples.
2013-10-25 10:53:37 +02:00
Simone Bordet b08e415ca0 Implemented FastCGIProxyServlet and handling of idle timeouts. 2013-10-22 19:20:40 +02:00