New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD Ruby issues with 2.3.0-devel #3304
Comments
@xm74 can you try and reduce this down further, and what request seems to trigger it? I've not been able to reproduce this |
@dch It's a simple https://kostikov.co |
I think @dch wanted to know what the simplest config was, that triggered the error. E.g. does it happen even without the acl? And if only a static page was served (no PHP)? N.B. I have used H2O on FreeBSD for years, with quite a bit of mruby. But I have never encountered this error message. Therefore, I, too, am puzzled by this error. |
Yes, without mruby ACL it works fine.
I just tried replacing the PHP index file with plain HTML and got the same result with mruby ACL enabled. |
I have never used the acl feature - I will give it a try later this week. But for the moment, you could easily replace this deny rule with something like this:
Does this also trigger the error? |
Unfortunately this doesn't work.
|
Sorry, I assume this is line 105? Then it's probably because I forgot to escape the slashes in the path:
|
It finally worked.
|
I tried your acl code and encountered the same error. But I think I also identified the problem: You need to replace the double-quotes around the pattern with slashes (and then escape the slashes in your path):
This works here. |
Yes! It works!
|
"yaml" differences between ruby versions?
…On Tue, 14 Nov 2023, at 14:02, Max Kostikov wrote:
Yes! It works!
Thanks a lot.
But I wonder why it worked with quotes before...
> But I think I also identified the problem: You need to replace the double-quotes around the pattern with slashes
>
—
Reply to this email directly, view it on GitHub
<#3304 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACFNUGEJHHFWICS3BMR4CDYEN2WRAVCNFSM6AAAAAA63UZNPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGI3DAOJQGA>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I got these errors in the H2O error log with the lastest h2o-devel port. As result server is not responding to requests.
The last previous working version was h2o-devel-2.3.0.d.20220519.
H2O config which doesn't works with the recent versions but works just fine with h2o-devel-2.3.0.d.20220519.
The text was updated successfully, but these errors were encountered: