Hello, I would like to know how to go to the login page of my application without having the Aware IM name file visible in the path.
Aware IM name file visible in the path.
-
- Posts: 2418
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Aware IM name file visible in the path.
Before update completely backup folder C:\AwareIM
***************************************************************************************
After update
1. Rename
C:\AwareIM\Tomcat\webapps\AwareIM directory to C:\AwareIM\Tomcat\webapps\CustomFolderName
2. Open the file web.xml located in the AwareIM/Tomcat/webapps/newfoldername/WEB-INF directory,
search for AwareIM and replace it with newfoldername
3. Open the file aware.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
Open the file aware_full.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
4. Open UIConfig.props file in /AwareIM/bin and add:
OperationMode = http://localhost:8080/CustomFolderName/logonAdmin.html
WebAppBase=CustomFolderName
Apparently in recent versions you do not need to replace the Aware IM in aware.js and it has been verified.
However, I run a script and have just been to busy and lazy to either test it of change it. Will get around to it one day.
***************************************************************************************
After update
1. Rename
C:\AwareIM\Tomcat\webapps\AwareIM directory to C:\AwareIM\Tomcat\webapps\CustomFolderName
2. Open the file web.xml located in the AwareIM/Tomcat/webapps/newfoldername/WEB-INF directory,
search for AwareIM and replace it with newfoldername
3. Open the file aware.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
Open the file aware_full.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
4. Open UIConfig.props file in /AwareIM/bin and add:
OperationMode = http://localhost:8080/CustomFolderName/logonAdmin.html
WebAppBase=CustomFolderName
Apparently in recent versions you do not need to replace the Aware IM in aware.js and it has been verified.
However, I run a script and have just been to busy and lazy to either test it of change it. Will get around to it one day.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 1463
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Aware IM name file visible in the path.
Or setup a reverse proxy
This is slightly more complicated but gives you the option to:
This is slightly more complicated but gives you the option to:
- use subdomains to point to specific apps or customise for specific tenants - e.g.
- custName.domain.com pointing to a customised login page or
- App1.domain.com
- Won’t need to be reset every time you upgrade the server
- Manage your SSL certificates with certbot rather than within Tomcat
Re: Aware IM name file visible in the path.
Thank you very much, your solution works very well,eagles9999 wrote: ↑Mon Jun 12, 2023 10:10 pm Before update completely backup folder C:\AwareIM
***************************************************************************************
After update
1. Rename
C:\AwareIM\Tomcat\webapps\AwareIM directory to C:\AwareIM\Tomcat\webapps\CustomFolderName
2. Open the file web.xml located in the AwareIM/Tomcat/webapps/newfoldername/WEB-INF directory,
search for AwareIM and replace it with newfoldername
3. Open the file aware.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
Open the file aware_full.js located in C:\AwareIM\Tomcat\webapps\CustomFolderName\aware_kendo,
search for "AwareIM" and replace it with newfoldername
4. Open UIConfig.props file in /AwareIM/bin and add:
OperationMode = http://localhost:8080/CustomFolderName/logonAdmin.html
WebAppBase=CustomFolderName
Apparently in recent versions you do not need to replace the Aware IM in aware.js and it has been verified.
However, I run a script and have just been to busy and lazy to either test it of change it. Will get around to it one day.