I am currently running FPBX 14 and Asterisk 16 on a cloud VM
Would like to provide my users access over HTTPS to their VMs using UCP – however most of the solutions that are noted on the board refer to using the Sys Admin module which i do not have
Then you cannot activate your system. If you cannot activate your system you cannot run or install any module that is noted as “Commercial” whether it is free or not. So no System Admin. The UCP runs on port 81, if people want to access it outside the LAN you need to setup port forwarding in your firewall for them to access the box. If the box is on a public IP, then they need to hit the IP on port 81.
That’s the redirect. Just use the /ucp if you can. Im not sure what issue you are actually having. If you have UCP installed and you can access it without issue, then just give users access.
Also according to Apache it’s listening on 81 for the UCP
Starting ucp
ucp
Listen 81
<VirtualHost *:81>
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/ucp/
Updated Followup: However, I see you’re point. This is a manual install so Apache by default would get /ucp due to it being a sub-directory and the port alias are probably not there due to that being a distro based conf file.
You are looking at sysadmin again but talking to someone who does not have the sys admin module.
Since I wrote UCP I’m sure.
Stop referencing Sysadmin in this post that is not about sysadmin
The UCP folder lives under the webroot. So if you normally access your system through http:///admin then ucp would be under http:///ucp. FreePBX does not modify Apache outside of the distro
The aliases he’s trying to set up aren’t really documentroots, but the point is well worth discussing.
@hardcop You can’t just copy and paste things from the Internet and hope they work. You need to understand what and why you are doing. This is another excellent example. You need to make sure the files you are trying to alias actually exist, otherwise the aliases are guaranteed not to work.