Can't access to https administration

Hi all!

I’ve been configuring ports on System admin > Por management, but I made a mistake I can’t remember. After aplying changes, I can’t access to administration.

Even if I make a “fwconsole sysadmin clearforce”, it is not accesible.

This is the actual configuration:

[[email protected] ~]# fwconsole sysadmin ports
±-----±------------±------------+
| Port | Name | Force https |
±-----±------------±------------+
| 82 | restapps | Disabled |
| 83 | restapi | Disabled |
| 81 | ucp | Disabled |
| 80 | acp | Disabled |
| 84 | hpro | Disabled |
| 80 | leport | |
| | sslrestapps | |
| | sslrestapi | |
| | sslucp | |
| | sslacp | |
| | sslhpro | |
±-----±------------±------------+

Is there any commando to configure this fro the cli? Any idea?

Thank you.

backup then edit the file /etc/httpd/conf.d/schmoozecom.conf with the following:

Listen 80
<VirtualHost *:80>
  Alias /.well-known /var/www/html/.well-known
  Alias /.freepbx-known /var/www/html/.freepbx-known
  RewriteEngine on
  RewriteRule ^/\.(well-known|freepbx-known)/ - [H=text/plain,L]
  RewriteRule (^\.|/\.) - [F]
  DocumentRoot /var/www/html
</VirtualHost>

Restart apache

systemctl restart httpd.service

It sometimes takes a long while to restart. When its up again you should have access on port 80. Use Sysadmin to re-setup your ports.

YES!! Thanks a lot!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.