I have installed meshcentral as explained on the wiki but when I try to connect I am redirected to this page instead of the meshcentral one.
This is the results of httpd -S:
Blockquote
[Thu Mar 03 23:04:51.625233 2022] [so:warn] [pid 20829] AH01574: module php5_module is already loaded, skipping
VirtualHost configuration:
*:80 is a NameVirtualHost
default server server.domain.cloud (/etc/httpd/conf.d/virtualhosts.conf:12)
port 80 namevhost server.domain.cloud (/etc/httpd/conf.d/virtualhosts.conf:12)
port 80 namevhost meshcentral.domain.cloud (/etc/httpd/conf.d/virtualhosts.conf:66)
port 80 namevhost meshcentral.domain.cloud (/etc/httpd/conf.d/zz_meshcentral.conf:17)
*:443 is a NameVirtualHost
default server server.domain.cloud (/etc/httpd/conf.d/nethserver.conf:46)
port 443 namevhost server.domain.cloud (/etc/httpd/conf.d/nethserver.conf:46)
port 443 namevhost server.domain.cloud (/etc/httpd/conf.d/ssl.conf:56)
port 443 namevhost meshcentral.domain.cloud (/etc/httpd/conf.d/virtualhosts.conf:24)
port 443 namevhost meshcentral.domain.cloud (/etc/httpd/conf.d/zz_meshcentral.conf:22)
ServerRoot: â/etc/httpdâ
Main DocumentRoot: â/var/www/htmlâ
Main ErrorLog: â/etc/httpd/logs/error_logâ
Mutex authdigest-client: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex authn-socache: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/run/httpd/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
PidFile: â/run/httpd/httpd.pidâ
Define: _RH_HAS_HTTPPROTOCOLOPTIONS
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=âapacheâ id=48
Group: name=âapacheâ id=48
This is the contents of zz_meshcentral.conf:
Blockquote
================= DO NOT MODIFY THIS FILE =================
<VirtualHost *:80>
IncludeOptional conf.d/default-virtualhost.inc
<VirtualHost :80>
ServerName meshcentral.domain.cloud
RedirectMatch 301 ^(?!/.well-known/acme-challenge/). https://meshcentral.domain.cloud
<VirtualHost *:443>
ServerName meshcentral.domain.cloud
SSLEngine on
SSLProxyEngine on
ProxyPreserveHost On
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule . ws://127.0.0.1:8989%{REQUEST_URI} [P]
ProxyPass / http://127.0.0.1:8989/
ProxyPassReverse / http://127.0.0.1:8989/
Can anyone tell me what I can do to fix the problem?
Thank you in advance