Change the web URL / URI of Ezeelogin Installation
How to change the ezeelogin web URL by removing the /ezlogin suffix?
Overview: This article explains how to change the Ezeelogin web URL to eliminate the /ezlogin suffix from the end of our URL. To achieve this, modify the uri_path, cookie_path, and www_folder variables in the /usr/local/etc/ezlogin/ez.conf file, and then copy the Ezeelogin web files to the desired directory within the web server's document root.
To change the Ezeelogin web URL from
Step 1: Check the Document Root for the virtual host ezsshgateway.com in the Apache web configuration file.
Document Root /home/mygate/public_html
Step 2: Edit /usr/local/etc/ezlogin/ez.conf and make the following changes. Replace the below with the correct details
uri_path /ezlogin
cookie_path /ezlogin
www_folder /home/mygate/public_html/ezlogin
TO
uri_path /
cookie_path /
www_folder /home/mygate/public_html
Step 3: All the Ezeelogin web files need to be copied from the folder.
Again, if you want to access your Ezeelogin GUI as "http://mysshgateway.com/ez", Copy the ezeelogin web files from /home/mygate/public_html/ezlogin to /home/mygate/public_html/ez.
After copying, edit the following variable in /usr/local/etc/ezlogin/ez.conf
uri_path /ez
cookie_path /ez
www_folder /home/mygate/public_html/ez
Related Articles:
Redirect IP to Domain Name in Linux
Unable to proceed to URL due to invalid certificate error in Chrome