Change the web URL / URI of Ezeelogin Installation
How to change the ezeelogin web URL by removing the /ezlogin suffix
I'm trying to modify our server so we do not need to reference the /ezlogin at the end of our URL. I modified the Apache configs accordingly, however, it stopped the Ezeelogin panel from working.
Overview: To change the Ezeelogin web URL to remove the /ezlogin suffix, modify the uri_path, cookie_path, and www_folder settings in the /usr/local/etc/ezlogin/ez.conf file and copy the Ezeelogin web files to the desired directory in 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 installation as "http://mysshgateway.com/ez", Copy the ezeelogin web files from /home/mygate/public_html/ezlogin to /home/mygate/public_html/ez.
After, 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