Aware IM name file visible in the path.

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Maxo42
Posts: 46
Joined: Sun Dec 04, 2022 11:13 pm

Aware IM name file visible in the path.

Post by Maxo42 »

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.
Capture d’écran 2023-06-12 175415.png
Capture d’écran 2023-06-12 175415.png (27.35 KiB) Viewed 6157 times
customaware
Posts: 2405
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Aware IM name file visible in the path.

Post by customaware »

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.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
PointsWell
Posts: 1460
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Aware IM name file visible in the path.

Post by PointsWell »

Or setup a reverse proxy

This is slightly more complicated but gives you the option to:
  1. 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
  2. Won’t need to be reset every time you upgrade the server
  3. Manage your SSL certificates with certbot rather than within Tomcat
It’s more complex to setup but has a lot of long term benefits. See here
Maxo42
Posts: 46
Joined: Sun Dec 04, 2022 11:13 pm

Re: Aware IM name file visible in the path.

Post by Maxo42 »

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.
Thank you very much, your solution works very well,
Post Reply