Le 12/09/2017 à 14:57, Frank a écrit :
You need to use a threaded mpm in order to support http2. Just unload
the prefork mpm module, and load the event mpm module.
I was Googling about this to find a solution. I'm going to try what you
suggest. Thanks for your answer.
Luis
On 12/09/17 05:22 AM, Luis Speciale wrote:
Le 12/09/2017 à 09:33, Daniel Gruno a écrit :
On 09/12/2017 09:32 AM, Luis Speciale wrote:
Oh, my. It's NOT working. I fooled myself yesterday
:(
Which part in particular isn't working?
Hi Daniel
I'm going to do an exhaustive check before askin
Le 12/09/2017 à 09:33, Daniel Gruno a écrit :
On 09/12/2017 09:32 AM, Luis Speciale wrote:
Oh, my. It's NOT working. I fooled myself yesterday
:(
Which part in particular isn't working?
Hi Daniel
I'm going to do an exhaustive check before asking for more help, I feel
like I'm abusing of y
On 09/12/2017 09:32 AM, Luis Speciale wrote:
> Oh, my. It's NOT working. I fooled myself yesterday
>
> :(
Which part in particular isn't working?
>
> Luis
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> Fo
Oh, my. It's NOT working. I fooled myself yesterday
:(
Luis
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
Le 11/09/2017 à 17:12, Daniel Gruno a écrit :
For those who wont to accept inline scripts and styles with a nonce
according to the CSP directives.
You must reinstall your apache server with lua support.
In my Mac I had installed httpd2.4 with brew
Open
/usr/local/Homebrew/Library/Taps
I'll top-post.
You can't modify the headers with a filter, but you can change them
before the filtering starts...I think
The filter script starts with coroutine.yield().
before that, you can establish the nonce and set the header using either
r.headers_out or the more robust r.err_headers_out tabl
Le 11/09/2017 à 12:02, Daniel Gruno a écrit :
You could alternately use mod_lua as an output filter.
LuaOutputFilter fixupNonce /path/to/nonce.lua nonce
SetOutputFilter fixupNonce # or AddOutputFilterByType
and then in nonce.lua, you'd have:
function fixNonce(stype, str)
if str:match("s
Le 11/09/2017 à 12:02, Daniel Gruno a écrit :
On 09/11/2017 11:51 AM, Luis Speciale wrote:
Le 11/09/2017 à 11:38, Mitchell Krog Photography a écrit :
As per the original article from Scott Helme that you intially
referred to, you will need to generate a random string yourself.
Something like th
On 09/11/2017 11:51 AM, Luis Speciale wrote:
> Le 11/09/2017 à 11:38, Mitchell Krog Photography a écrit :
>> As per the original article from Scott Helme that you intially
>> referred to, you will need to generate a random string yourself.
>> Something like this might help you in the right directio
Le 11/09/2017 à 11:38, Mitchell Krog Photography a écrit :
As per the original article from Scott Helme that you intially referred
to, you will need to generate a random string yourself.
Something like this might help you in the right direction -
https://gist.github.com/earthgecko/3089509
I w
...@gmail.com
Date: 11 September 2017 at 11:35:17 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] CSP nonces in apache
Le 11/09/2017 à 10:59, Daniel Gruno a écrit :
> On 09/11/2017 10:48 AM, Luis Speciale wrote:
>> Le 07/09/2017 à 20:57, Daniel Gruno a écrit :
>>
Le 11/09/2017 à 10:59, Daniel Gruno a écrit :
On 09/11/2017 10:48 AM, Luis Speciale wrote:
Le 07/09/2017 à 20:57, Daniel Gruno a écrit :
might be that you need to uppercase it to NUMBNONCE.
After a week trying I'm beginning to think that it can't be done the way
I thought. Is there a way (a
On 09/11/2017 10:48 AM, Luis Speciale wrote:
> Le 07/09/2017 à 20:57, Daniel Gruno a écrit :
>
>>
>> might be that you need to uppercase it to NUMBNONCE.
>
> After a week trying I'm beginning to think that it can't be done the way
> I thought. Is there a way (another, of course) to achieve this?
Le 07/09/2017 à 20:57, Daniel Gruno a écrit :
might be that you need to uppercase it to NUMBNONCE.
After a week trying I'm beginning to think that it can't be done the way
I thought. Is there a way (another, of course) to achieve this?
Luis
Le 07/09/2017 à 20:57, Daniel Gruno a écrit :
Try:
Substitute "s/<(style|script)((?!\s*src=).*)>/<$1 nonce-${numbnonce}
$2>/i"
Now it substitutes
On 09/07/2017 08:54 PM, Luis Speciale wrote:
> Le 07/09/2017 à 20:36, Daniel Gruno a écrit :
>> On 09/07/2017 08:30 PM, Luis Speciale wrote:
>>> Le 07/09/2017 à 19:53, Daniel Gruno a écrit :
>>>
>>> Thank you for your answer.
>>>
Quick spot-check says you should probably change '.)*)' to ').*)
Le 07/09/2017 à 20:36, Daniel Gruno a écrit :
On 09/07/2017 08:30 PM, Luis Speciale wrote:
Le 07/09/2017 à 19:53, Daniel Gruno a écrit :
Thank you for your answer.
Quick spot-check says you should probably change '.)*)' to ').*)'
I tried this but it doesn't seem to work.
Also, the env var
On 09/07/2017 08:30 PM, Luis Speciale wrote:
> Le 07/09/2017 à 19:53, Daniel Gruno a écrit :
>
> Thank you for your answer.
>
>> Quick spot-check says you should probably change '.)*)' to ').*)'
>
> I tried this but it doesn't seem to work.
>
>> Also, the env vars need to be ${}'ed.
>
> Ok, I
Le 07/09/2017 à 19:53, Daniel Gruno a écrit :
Thank you for your answer.
Quick spot-check says you should probably change '.)*)' to ').*)'
I tried this but it doesn't seem to work.
Also, the env vars need to be ${}'ed.
Ok, I got it.
Assuming you want to inject nonce-foo into all non-ex
On 09/07/2017 07:46 PM, Luis Speciale wrote:
> Hello;
>
> I wanted to have CSP nonces in apache. Something like this in NGINX
> https://scotthelme.co.uk/csp-nonce-support-in-nginx/
> The idea is to generate a number, put this number in the CSP nonce (the
> header) and then replicate this number in
Hello;
I wanted to have CSP nonces in apache. Something like this in NGINX
https://scotthelme.co.uk/csp-nonce-support-in-nginx/
The idea is to generate a number, put this number in the CSP nonce (the
header) and then replicate this number in every inline script.
So in my httpd-vhosts.conf I di
22 matches
Mail list logo