Mailing List Archive

[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #1 from Stefan Eissing <stefan@eissing.org> ---
I added a test for this at
<https://github.com/icing/mod_h2/blob/master/test/modules/http2/test_007_ssi.py>
and there it behaves as it should. No garbling.

Could you specify the config around this in more detail? Also, an error log
with 'LogLevel http2:trace2' would be helpful.

Thanks!

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #2 from kanai3id <kanai3id@gmail.com> ---
Created attachment 38501
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38501&action=edit
Error log with LogLevel of http2:trace2

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #3 from kanai3id <kanai3id@gmail.com> ---
Thanks for your support, it is much appreciated.

Attached is the error.log when LogLevel is set to http2:trace2. (I have changed
the IP address of the access source to xxx)

Best regards.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #4 from kanai3id <kanai3id@gmail.com> ---
I have an additional question.

I am not familiar with the core or test code of Apache HTTPD, but is
RewriteRule in the test code?

If it is a normal SSI, it is not a problem. The garbled characters occur when
the following RewriteRule conditions are present.

Thank you in advance.

----
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule ^(.*) /dev/$1

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #5 from Stefan Eissing <stefan@eissing.org> ---
Thanks for the rewrite config. I am still unable to reproduce on my dev
machine.

The thing that is new in the module is the handling of mmap'ed file content.
Can you check if adding

H2CopyFiles on

makes a difference for you?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #6 from kanai3id <kanai3id@gmail.com> ---
Created attachment 38502
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38502&action=edit
Log with H2CopyFiles on

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 66483] Garbled characters when accessing SSI via HTTP/2 with RewriteRule [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=66483

--- Comment #7 from kanai3id <kanai3id@gmail.com> ---
I set H2CopyFiles on but it did not change.
Please check the error_log_H2CopyFiles_on.log also attached.

(I configured H2CopyFiles on to Apache httpd 2.4.54, built with the same
configure options, and there were no garbled characters here.)

Best regards.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org