Redirect from 8443 to /xormon/

I am looking to do the redirect from the system:port to system/xormon/. I set it up in the ssl.conf file like standard xormon but after restart httpd I get a blank page.


This is what I see in the httpd access log:

x.x.x.x - - [08/Jul/2024:17:31:15 -0400] "GET /xormon/ HTTP/1.1" 200 1314 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

x.x.x.x - - [08/Jul/2024:17:31:15 -0400] "GET /assets/polyfills-BBTZySvq.js HTTP/1.1" 404 196 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

x.x.x.x - - [08/Jul/2024:17:31:15 -0400] "GET /assets/index-B_HYl2lz.js HTTP/1.1" 404 196 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

x.x.x.x - - [08/Jul/2024:17:31:15 -0400] "GET /assets/style-BYC_20sg.css HTTP/1.1" 404 196 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

I get a massive spew in the error log file.

<snip>

[Mon Jul 08 17:40:19.089024 2024] [ssl:debug] [pid 2099964:tid 2100116] ssl_engine_kernel.c(1761): [remote 127.0.0.1:8443] AH02275: Certificate Verification, depth 0, CRL checking mode: none (0) [subject: CN=localhost / issuer: CN=localh

ost / serial: EF6AB1695A539C64 / notbefore: Dec 13 09:43:55 2022 GMT / notafter: Jan 12 09:43:55 2023 GMT]

[Mon Jul 08 17:40:19.089066 2024] [ssl:debug] [pid 2099964:tid 2100116] ssl_engine_kernel.c(1761): [remote 127.0.0.1:8443] AH02275: Certificate Verification, depth 0, CRL checking mode: none (0) [subject: CN=localhost / issuer: CN=localh

ost / serial: EF6AB1695A539C64 / notbefore: Dec 13 09:43:55 2022 GMT / notafter: Jan 12 09:43:55 2023 GMT]

[Mon Jul 08 17:40:19.089078 2024] [ssl:debug] [pid 2099964:tid 2100116] ssl_engine_kernel.c(1761): [remote 127.0.0.1:8443] AH02275: Certificate Verification, depth 0, CRL checking mode: none (0) [subject: CN=localhost / issuer: CN=localh

ost / serial: EF6AB1695A539C64 / notbefore: Dec 13 09:43:55 2022 GMT / notafter: Jan 12 09:43:55 2023 GMT]

[Mon Jul 08 17:40:19.089308 2024] [ssl:debug] [pid 2099964:tid 2100116] ssl_engine_kernel.c(2251): [remote 127.0.0.1:8443] AH02041: Protocol: TLSv1.3, Cipher: TLS_AES_256_GCM_SHA384 (256/256 bits)

[Mon Jul 08 17:40:19.107732 2024] [proxy:debug] [pid 2099964:tid 2100116] proxy_util.c(2584): AH00943: https: has released connection for (127.0.0.1:8443)

</snip>


It looks like SSL is puking but I can't tell if this is a cert error or xormon-ng not happy with something. It looks like the rewrite isn't sticking because I see these:

[Mon Jul 08 17:40:19.157156 2024] [socache_shmcb:debug] [pid 2099966:tid 2100087] mod_socache_shmcb.c(570): AH00837: socache_shmcb_remove (0x63 -> subcache 3)

[Mon Jul 08 17:40:19.157161 2024] [core:info] [pid 2099964:tid 2100039] [client 9.34.213.18:47202] AH00128: File does not exist: /var/www/html/assets/style-BYC_20sg.css

[Mon Jul 08 17:40:19.157174 2024] [headers:debug] [pid 2099964:tid 2100039] mod_headers.c(890): AH01503: headers: ap_headers_error_filter()


Any thought?

Matthew

Comments

  • XorMon NG does not use Apache, follow this docu to start it up on 443, it is explained there in detail

    https://xormon.com/install-linux.php#xormon

  • Ok, that is legit, but the system that I am running this on does have apache and I have to make them co-exist nicely. Any thoughts on how to do that the same way that Xormon standards (or original) does?

  • pls explain in detail what do you want, what is running there and what do you want to run on each port.

    Do you want run Xormon NG and Xormon original on 443?

Sign In or Register to comment.