Summary
Configuring FNCI 6.x for a Friendly URLQuestion
FlexNet Code Insight deploys the web UI under the "palamida" Tomcat webapp on port 8888, accessible by a URL like:http://my-server.com:8888/palamida
This article is useful if a user wants to remove the /palamida webapp portion of the URL, the port number, or both, to make the web UI accessible by a simpler URL. This article also helps to redirect SSL enabled deployment.
Answer
Removing /palamida from the URL
To remove /palamida from the URL, we can deploy the ROOT webapp on Tomcat and have this redirect to the "/palamida" webapp/URL. In $palamida/tomcat/webapps/ make a directory called ROOT, then add the following index.html file to it:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;URL=http://my-server.com:8888/palamida">
</head>
<body></body>
</html>
Edit the "my-server.com" portion of the URL to point to the appropriate hostname Use the URL value with "https" for SSL enabled deployment. This ROOT webapp will deploy under the URL:
http://my-server.com:8888
Requests to this URL will be redirected to http://my-server.com:8888/palamida
For https enabled deployment, https://my-server:8888 will be redirected to https://my-server:8888/palamida
Removing the port number on Windows
NOTE: Do NOT use these instructions on Linux. See below.
Windows does not restrict low-numbered ports like 80 to admin users, so changing the port number for Tomcat is a simple matter. Edit the Connector element in $palamida/tomcat/conf/server.xml to use port 80 instead of 8888:
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="30000"
maxPostSize="10485760"
redirectPort="8443" />
This will deploy Tomcat on port 80, and users can access Palamida with the URL:
http://my-server.com/palamida
See above to also remove the need to use /palamida.
Removing the port number on Linux
On Linux, port 80 is a privileged port, meaning that a process must be started with root privileges to have the permission to bind to this port. However, you should NOT deploy Tomcat with root privleges for security reasons.
Apache httpd is designed to run a main process with root privileges to bind to port 80, and then delegate requests to child processes with restricted user permissions.
Redirecting via Apache httpd
To redirect using Apache httpd:
-
Install httpd if it is not already. For example:
sudo yum install httpd -
Place a redirect file as above in the Apache's webroot folder. This is typically
/var/www/html/index.html. The contents of the file should be like the following (replace my-server.com with your address and URL=https for SSL enabled deployments):<html> <head> <meta http-equiv="refresh" content="0;URL=http://my-server.com:8888/palamida"> </head> <body></body> </html> - Restart the httpd service.
This will allow users to access Palamida with:
http://my-server.comRelated Articles
Cannot get property 'config/core/emails/new_comment_body.html' on null object in FlexNet Code Insight. 12Number of Views Bypassing Proxy Server 5Number of Views Does FlexNet Code Insight Detect Shai-Hulud npm Supply Chain Attack Compromised Packages? 25Number of Views External connections in FlexNet Code Insight 2018 R3 4Number of Views HTTP 401 Error in FlexNet Code Insight When Using the Ant Plugin 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago