[Not Solved]
RE: Problem ssl subdomain access Control Panel
05-30-2024, 06:15 AM
(This post was last modified: 05-30-2024, 06:39 AM by franmm25.)
(05-30-2024, 06:08 AM)Jettaman Wrote: @[franmm25],
Did you by chance install crr1969 PHP changer module or any other module? Your Apache_admin hook code is wrong. I have checked default install and all code is correct. Somehow your apache_admin mod code got changed.
Yes i use this module :
Quote:<?xml version="1.0" encoding="utf-8"?>
<module>
<name>Php_Ver</name>
<version>100</version>
<defaultcat>Domain Management</defaultcat>
<type>user</type>
<desc>This module enables you to change or configure Php versions on your Domains.</desc>
<authorname>ccr1969</authorname>
<authoremail>webmaster@idohost.cf</authoremail>
<authorurl>https://idohost.cf/</authorurl>
<updateurl>http://idohost.cf/version.xml</updateurl>
</module>
Also Module Change Php Version add some lines inside vhosts as these :
Quote:<Files ~ "\.php$">
SetHandler "proxy:unix:/run/php/php5.6-fpm.sock|fcgi://localhost/"
</Files>
And i add these lines for specific folder with other Php versión, from Apache Module in Sentora only for some domains :
Quote:<Directory /var/sentora/hostdata/zadmin/public_html/test_com/tester_version>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php7.3-fpm.sock|fcgi://localhost/"
</FilesMatch>
</Directory>
Apache Modules :
Code:
access_compat_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
bw_module (shared)
core_module (static)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
http_module (static)
Loaded Modules:
log_config_module (static)
logio_module (static)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
php7_module (shared)
proxy_fcgi_module (shared)
proxy_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
socache_shmcb_module (shared)
so_module (static)
ssl_module (shared)
status_module (shared)
unixd_module (static)
version_module (static)
watchdog_module (static)
The module and all works fine, the only problem is with SSL for subdomain access CP, regards.