Add a Static Login Page
If you want to add a custom HTML page for logins, you need to add a static context inside the Agiloft Setup module. This topic describes the steps to do this.
Prerequisites
- You should already have created the HTML login page and all associated graphics. This topic only describes the steps to configure this page as the default login.
- Stop the EWDatabase and EWServer services in the Task Manager or equivalent before making these changes.
- NGINX must be enabled for your installation. For more information, see Initial Installation in Linux.
Add the Static Login Path
- Add a Login Page Folder.
- In the installation directory, add a new folder where you will keep the login page files. For example,
C:\Agiloft\www\htdocs\logins
. - Add all of the necessary HTML pages, files and graphics.
- If the default login page is index.html, you can login via the directory path. For example in the \logins folder above, you could rename the login-page.html file to index.html. Now the URL to launch your custom login page would look like
http://servername/logins/
.
- In the installation directory, add a new folder where you will keep the login page files. For example,
- Open the Web Server Settings menu.
- Double click Setup.exe in the installation folder to open the Setup menu.
- Navigate to the main menu then click Web server to open the Web Server Settings.
- Add a path and a directory.
- In the Web Server Settings menu, the Path refers to the URL relative path and must be prepended with a forward slash - for example, /
logins
. The Directory refers to the physical path of the folder on the server, for example,C:\Agiloft\www\htdocs\logins
. - Add the Path and Directory based on the login page folder.
- Click the Change web server settings button.
- The application servers will restart with the new static context added.
- In the Web Server Settings menu, the Path refers to the URL relative path and must be prepended with a forward slash - for example, /
- At this point, you will be able to log in to the system by navigating to
http://servername/context path/login-page.html or http://servername/context path.
Instruct your users to bookmark the login page for easy access.