| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
unknown/invalid HTTP requests.
From Fabian Raetz at gmail
|
| |
|
|
|
|
|
|
|
|
| |
strip number
Strip number path components from the beginning of the
request URI before looking up the stripped-down URI at
the document root.
reviewed with much patience and OK by reyk@
|
| |
|
|
|
|
|
|
| |
shorter, newer, and the recommendation. From James Jerkins.
Exclude the charset for now because it is not explicitly handled by httpd.
OK validator.w3.org (This document was successfully checked as HTML5!)
|
| |
|
|
|
|
| |
*Do* pull it in when in_{port,addr}_h is needed and <netinet/in.h> isn't.
ok reyk@
|
| |
|
|
|
| |
From Bertrand Janin (b at janin dot com), thanks!
OK reyk@
|
| |
|
|
| |
from Max Fillinger
|
| |
|
|
| |
ok millert@
|
| |
|
|
|
| |
Tested by ajacoutot@ and others
OK doug@
|
| |
|
|
|
|
|
|
|
| |
error. Traditionally, web servers responsed with the request path on
40x errors which could be abused to inject JavaScript etc. Instead of
sanitizing the path, we just don't reprint it. Also modify the style
a little bit but keep Comic Sans.
With input from Jonas Lindemann and doug@
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
www.example.com, www.example.com:80, [2001:db8::1], [2001:db8::1]:80).
The port is optional and is typically used on non-default ports. If
the server name is a plain IPv6 address, it is commonly specified in
square brackets.
Makes ajacoutot@ happy
OK florian@
|
| |
|
|
|
|
| |
This fixes (Fast)CGI-based WebDAV and CalDAV (calendar) servers with httpd.
ok benno@ stsp@
|
| |
|
|
|
|
|
|
|
| |
The key has been changed to server name + address + port and now it is
possible to use the same server name for multiple servers with
different addresses, eg. http://www.example.com and
https://www.example.com/.
OK doug@ florian@
|
| |
|
|
| |
OK chrisz@
|
| |
|
|
| |
OK reyk@
|
| |
|
|
|
|
|
| |
has been appended. This allows to use a fastcgi target as the default
index, for example index.php.
OK florian@
|
| |
|
|
|
| |
Found by jasper@
OK florian@
|
| |
|
|
|
|
| |
add a configuration option to change the limit.
ok florian@
|
| |
|
|
| |
with & OK reyk@
|
| | |
|
| |
|
|
|
|
| |
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.
|
| |
|
|
| |
(Same default as in nginx and Apache).
|
| | |
|
| |
|
|
| |
The secrect plan is to add it later using the ressl wrapper library.
|
| | |
|
| |
|
|
|
|
|
| |
tricky because we couldn't guarantee a sane state after
server_response_http() so fail hard afterwards and close the connection.
ok doug@
|
| | |
|
| |
|
|
|
|
| |
meta-variables.
ok florian@
|
| | |
|
| |
|
|
|
| |
each connection, not every request. The code was already there and enabled
on debug, I just turned it into an alternative log format.
|
| |
|
|
|
| |
aware of the IPv6 scope Id. We already have a function print_host() that
uses getnameinfo, so no need for the inet_ntop cases. Confirmed by florian@
|
| |
|
|
|
|
| |
Add log to the server flags.
input/"Looks ok" reyk@
|
| |
|
|
|
|
| |
or the request completed. Turn the old log message into a debug message.
ok doug@
|
| |
|
|
| |
ok reyk@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- DPRINTF instead of log_info for internal debugging.
- submit QUERY_STRING, if it exists
- use a proper function to create an HTTP header.
- use server_file_error() to detect EOF and fastcgi stream errors.
- disable keep-alive/persist for now until we have a reliable way to
get the content length from the cgi response or support chunked
encoding.
"Cool, jep" florian@
|
| | |
|
| |
|
|
|
| |
in now so that we can quickly work on it in tree. Requested by reyk@.
deraadt@ is OK with this according to reyk@.
|
| | |
|
| |
|
|
|
| |
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.
|
| | |
|
| |
|
|
|
|
| |
responses. To accomplish this, add some semantics to retrieve the
server host name of a connection: either IP, IP:PORT (if not 80) or
[IP6]:PORT, or Host value (if valid).
|
| | |
|
| | |
|
| |
|
|
| |
docroot only only when it's needed. Suggested by deraadt@.
|
| |
|
|
|
|
| |
servers with the same or "overlapping" IP address but a different name.
ok beck@
|
| | |
|
| | |
|
| |
|
|
| |
all the headers etc. of a connection.
|