OK reyk - go for it
Florian Obser :
>
> This is OK florian@ or I can commit it if someone else OKs it.
>
>> On Wed, Mar 15, 2017 at 05:55:35PM +, Rivo Nurges wrote:
>> Hi!
>>
>> New simplified version of the patch.
>>
>> Test results:
>> HTTP 1.1 with Host:
>>
This is OK florian@ or I can commit it if someone else OKs it.
On Wed, Mar 15, 2017 at 05:55:35PM +, Rivo Nurges wrote:
> Hi!
>
> New simplified version of the patch.
>
> Test results:
> HTTP 1.1 with Host:
> HTTP/1.0 301 Moved Permanently
> Location: https://testhttp.int/
>
> HTTP 1.0
Hi!
New simplified version of the patch.
Test results:
HTTP 1.1 with Host:
HTTP/1.0 301 Moved Permanently
Location: https://testhttp.int/
HTTP 1.0 with Host:
HTTP/1.0 301 Moved Permanently
Location: https://testhttp.int/
HTTP 1.1 without Host:
HTTP/1.0 400 Bad Request
HTTP 1.0 without Host:
Hi!
Sure. Should I create new patch?
Rivo
On 13/03/2017, 20:38, "Florian Obser" wrote:
On Mon, Mar 13, 2017 at 06:22:50PM +, Rivo Nurges wrote:
> Hi!
>
> Host header is mandatory for HTTP 1.1 requests and httpd will return
> 400 Bad request
On Mon, Mar 13, 2017 at 06:22:50PM +, Rivo Nurges wrote:
> Hi!
>
> Host header is mandatory for HTTP 1.1 requests and httpd will return
> 400 Bad request without it. With HTTP 1.0 requests I get 301 to the
> IP the httpd is running on.
>
right, so the
if (desc->http_host ==
Hi!
Host header is mandatory for HTTP 1.1 requests and httpd will return
400 Bad request without it. With HTTP 1.0 requests I get 301 to the
IP the httpd is running on.
Connected to 10.XXX
Escape character is '^]'.
GET / HTTP/1.0\r\n\r\n
HTTP/1.0 301 Moved Permanently
Date: Mon, 13 Mar 2017
On Sat, Mar 11, 2017 at 06:11:53PM +, Rivo Nurges wrote:
> Hi!
>
> Following will add possibility to expand $HTTP_HOST to the HTTP
> Host header in "block return".
>
> In my setup I have relayd on port 443 and httpd on 80. This patch
> allows me to redirect http(httpd) to https(relayd)
Hi!
Following will add possibility to expand $HTTP_HOST to the HTTP
Host header in "block return".
In my setup I have relayd on port 443 and httpd on 80. This patch
allows me to redirect http(httpd) to https(relayd) without knowing
the host.
/etc/httpd.conf:
server "redirect" {
listen on *