BelledonneCommunications / flexisip-account-manager

A REST API, web portal and provisioning server for Flexisip
https://subscribe.linphone.org/
GNU Affero General Public License v3.0
5 stars 3 forks source link

Flexisip Account Manager App: Error The requested URL was not found on this server. #2

Closed cjkarande closed 10 months ago

cjkarande commented 10 months ago

Hello Team,

Environment: OS: Ubuntu 22.04.3 LTS Apache2: 2.4.52 PHP: 8.1.2 MySql: 8.0.35

Install Path: /home/ubuntu/flexisip-account-manager (Folder Owner: root) Default User: ubuntu

Issue: I completed setup of [flexisip-account-manager] as per the instructions provided here. However when i load the document root in the browser it redirects to login URL and gives an error "The requested URL was not found on this server."

image

Config Files.zip Config Files.zip contains 3 config file viz. 1) 000-default.conf : Default site config 2) apache2.conf : Apache config 3) flexisip-account-manager.conf : VirtualHost config for flexisip-account-manager

NOTE: The setup is hosted on an AWS EC2 instance and the http port (80) has been opened up in the security Inbound Rules

image

Request direction or tips to help resolve this issue

cjkarande commented 10 months ago

Hello @Viish , any clue what might be wrong here....

edhelas commented 10 months ago

You're requesting the root of the domain but the application is deployed as a subdirectory

Alias /flexiapi /home/ubuntu/flexisip-account-manager/flexiapi/public

Ensure that mod_rewrite is also installed and enabled properly

Also it is strongly advised to use HTTPS by 443.