Re: [users@httpd] Server won't direct to Internal IP address

2023-01-06 Thread Luis Speciale
On 06/01/2023 11:14, Antony Stone wrote: On Friday 06 January 2023 at 11:05:42, jason kerr wrote: The full message is. This site can’t be reached 192.168.1.194 took too long to respond. So, that tells you that the *Raspberry Pi* is not trying to connect to the boiler on behalf of the brow

Re: [users@httpd] Logs not working

2022-01-04 Thread Luis Speciale
Maybe it is a stupid question, but, have you run apachectl -V? On 05/01/2022 02:51, Jim Albert wrote: On 1/4/2022 8:37 PM, James Coyle wrote: I have checked both, but have made no changes to the locations of either the access log nor the error log:

Re: [users@httpd] MPM event unstable behind AWS ALB

2021-12-19 Thread Luis Speciale
I'm a beginner but I did install fpm to see how it works. Did you set the fpm acces logs? ; The access log file ; Default: not set access.log = "/usr/local/etc/php/8.0/log/www.access.log" And the status page? ; The URI to view the FPM status page. If this value is not set, no URI wil

[users@httpd] Redirect only if 2 conditions

2019-09-25 Thread Luis Speciale
Hi I want to redirect (in my local server) all the external visitors that don't ask for an existing directory. !='/Library/WebServer/Documents/YES/'">     RedirectMatch ^/((?!index_ext.html).*)$ /index_ext.html But AND (&&) doesn't seem to work. I'm always redirected to /index_ext.html Wha

Re: [users@httpd] RE: Help configure a Reverse proxy with Substitute

2019-03-18 Thread Luis Speciale
Le 18/03/2019 à 18:36, Muggeridge, Matt a écrit : See the documentation on mod_substitute.html I was following this thread and the doc says "expr=" substitution values were added in 2.5.1 But my install is /2.4.38. I have installed it with brew on a Mac but I can't find a dev version. What c

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-31 Thread Luis Speciale
Le 31/12/2017 à 17:11, Eric Covener a écrit : On Sun, Dec 31, 2017 at 10:59 AM, Luis Speciale wrote: I will be happy to know if you find a solution, I was trying to do the same thing but after a certain time I gived up. Thanks in advance. I just committed something for this to trunk, I

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-31 Thread Luis Speciale
I will be happy to know if you find a solution, I was trying to do the same thing but after a certain time I gived up. Thanks in advance. Luis And happy everything - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

Re: [users@httpd] CSP nonces in apache

2017-09-12 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-12 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-12 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache (SOLVED)

2017-09-11 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-11 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-11 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-11 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-11 Thread Luis Speciale
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 t

Re: [users@httpd] CSP nonces in apache

2017-09-11 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-07 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-07 Thread Luis Speciale
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

Re: [users@httpd] CSP nonces in apache

2017-09-07 Thread Luis Speciale
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

[users@httpd] CSP nonces in apache

2017-09-07 Thread Luis Speciale
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