Skip to Content

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 stops the Ezeelogin panel from working.


synopsis:  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

example: 

http://mysshgateway.com/ezlogin  to  http://mysshgateway.com

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 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.

/home/mygate/public_html/ezlogin to /home/mygate/public_html/


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