michelandre
(Michel-André)
November 19, 2020, 3:02pm
21
Salut Stéphane,
Narrator: Faster than a speeding bullet. More powerful than a locomotive. Able to leap tall buildings in a single bound.
Man 1: Look! Up in the sky! It’s a bird!
Woman 1: It’s a plane !
Man 2: It’s SuperStephdl !
I confirm, now NinjaFirewall is working in Full WAF mode on Vhost.
Merci mil fois,
Michel-André
1 Like
stephdl
(Stéphane de Labrusse)
November 19, 2020, 3:03pm
22
I will do an issue to the core vhost and change it for the nethserver-httpd-virtualhost package…merci
1 Like
michelandre
(Michel-André)
November 19, 2020, 3:13pm
23
Salut Stéphane,
Just by curiosity, why in the above /15RhPhpScl_values#L17 , the ending “/” is still there.
Michel-André
stephdl
(Stéphane de Labrusse)
November 19, 2020, 3:14pm
24
which rpm
nethserver-php-scl or nethserver-httpd-virtualhosts ?
do
rpm -qf /path/to/the/file
stephdl
(Stéphane de Labrusse)
November 19, 2020, 3:27pm
26
see my question, from which rpm it comes ?
michelandre
(Michel-André)
November 19, 2020, 3:32pm
27
stephdl:
Only for nethgui by now
Is that the reason why all Vhosts created by GUI 980 don’t have an ending “/” and a Vhost created by Cockpit still have it ?
From /etc/httpd/conf.d/virtualhosts.conf
:
<FilesMatch .php$>
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/b7fe6df5f8e3769-php73.sock|fcgi://localhost/"
</FilesMatch>
Michel-André
stephdl
(Stéphane de Labrusse)
November 19, 2020, 3:39pm
28
in somehow yes, cockpit gets the priority, but I have just fixed my rpm (netgui) and all my modules, I need to do it now at the core level
michelandre
(Michel-André)
November 19, 2020, 3:42pm
29
Thank you again SuperStephdl for all the work you did, doing, and will do,
Michel-André
2 Likes
michelandre
(Michel-André)
November 19, 2020, 5:04pm
31
Salut Stéphane,
“Return to Caesar what belongs to Caesar.”
In your “issue # 6339”, it’s very kind to thank me, but without Marco @capote , I would never have known what to check.
Michel-André
3 Likes
michelandre
(Michel-André)
November 19, 2020, 5:31pm
33
Caesar would have been proud of you.
Michel-André
dnutan
(Marc)
November 19, 2020, 9:32pm
34
Thanks to the Les Trois Mousquetaires on this post (@capote for discovering the issue, @michelandre for hunting the bug further and @stephdl for taking care of fixing it).
5 Likes
capote
(Marko)
November 19, 2020, 9:50pm
35
I feel honored.
But I learned a lot and it was an inspiring collaboration especially with @michelandre .
Sincerely, Marko
1 Like
giacomo
(Giacomo Sanchietti)
November 20, 2020, 4:57pm
36
And thanks to @stephdl the issue is ready for testing!
Just try it and report back
1 Like
stephdl
(Stéphane de Labrusse)
November 20, 2020, 5:30pm
37
yum update nethserver-http\* --enablerepo=nethserver-testing
please jump to it, no excuse for being friday
1 Like
capote
(Marko)
November 20, 2020, 7:14pm
38
let’s play…
[root@ns-srv01 ~]# yum update nethserver-http\* --enablerepo=nethserver-testing
Geladene Plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 32 kB 00:00:00
* epel: mirrors.n-ix.net
* remi-safe: mirror.23media.com
ce-base/7/x86_64/signature | 811 B 00:00:00
ce-base/7/x86_64/signature | 3.6 kB 00:00:00 !!!
ce-extras/7/x86_64/signature | 811 B 00:00:00
ce-extras/7/x86_64/signature | 2.9 kB 00:00:00 !!!
ce-sclo-rh | 3.0 kB 00:00:00
ce-sclo-sclo | 3.0 kB 00:00:00
Not using downloaded ce-sclo-sclo/repomd.xml because it is older than what we have:
Current : Thu Nov 5 14:17:31 2020
Downloaded: Thu Oct 22 14:17:19 2020
ce-updates/7/x86_64/signature | 811 B 00:00:00
ce-updates/7/x86_64/signature | 2.9 kB 00:00:00 !!!
nethforge/7/x86_64/signature | 836 B 00:00:00
nethforge/7/x86_64/signature | 3.6 kB 00:00:00 !!!
nethserver-base/7/x86_64/signature | 836 B 00:00:00
nethserver-base/7/x86_64/signature | 2.9 kB 00:00:00 !!!
nethserver-testing/7/x86_64/signature | 836 B 00:00:00
Schlüssel wird von file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7 geholt
GPG-Schlüssel 0x39BAF5C1 importieren:
Benutzerkennung : "NethServer 7 (NethServer 7 Official Signing Key) <security@nethserver.org>"
Fingerabdruck: 594c 3fd8 fae1 8ff5 32fe ae23 9cb2 8ea0 39ba f5c1
Paket : nethserver-release-7-17.ns7.noarch (@nethserver)
Von : /etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-7
Ist dies in Ordnung? [j/N] :j
nethserver-testing/7/x86_64/signature | 2.9 kB 00:00:08 !!!
nethserver-updates/7/x86_64/signature | 836 B 00:00:00
nethserver-updates/7/x86_64/signature | 3.6 kB 00:00:00 !!!
remi-safe | 3.0 kB 00:00:00
stephdl | 2.9 kB 00:00:00
(1/2): nethserver-testing/7/x86_64/primary_db | 259 kB 00:00:00
(2/2): remi-safe/primary_db | 1.8 MB 00:00:00
No packages marked for update
[root@ns-srv01 ~]#
michelandre
(Michel-André)
November 20, 2020, 7:44pm
39
Hi all,
Received email :
/etc/cron.daily/0yum-daily.cron:
Not using downloaded ce-sclo-sclo/repomd.xml because it is older than what we have:
Current : Thu Nov 5 08:17:31 2020
Downloaded: Thu Oct 22 08:17:19 2020
Michel-André
capote
(Marko)
November 20, 2020, 7:57pm
40
I applied in Neth Gui PHP 7.3 and Ninja Firewall balls back to WordPress WAF mode.
all “/” still exists…
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/xxxxxxxxxxx-php73.sock|fcgi://localhost/"
But the virtualhosts.conf had an older date… confusing.
This afternoon the NinjaFirewall still operated in FullWaf mode. (I check I daily)
-rw-r--r-- 1 root root 12531 Nov 17 09:32 virtualhosts.conf
best regards, Marko