Environment Variables
VertiGIS Studio Access Control runs as a Windows service. Some of the low-level settings for Access Control are provided as environment variables of the service.
In most deployments there is no need to directly manage the environment variables. These settings are managed for you by the Access Control Post Installer application. This documentation is provided for reference and to support advanced deployment scenarios.
Misconfiguration of environment variables can affect the operation and security of your Access Control deployment and the ArcGIS Servers associated with it.
To modify the environment variables of VertiGIS Studio Access Control:
-
On the machine running Access Control, open a command prompt as an administrator.
-
Change the directory to
C:\Program Files\VertiGIS\VertiGIS Studio Access Control\dist\bin
-
Run the command
nssm edit geocortexaccesscontrol
A service editor application opens.
-
Locate the Environment tab (you may need to scroll to the right) and select it.
The editor presents a newline-separated list of
KEY=VALUE
environment variables.CopyAPP_HOST=localhost
APP_PORT=5080
APP_BACKEND_URL=http://localhost:5080/
APP_FRONTEND_PATH=/vertigisstudio/accesscontrol/
APP_DATA_PATH=C:\ProgramData\Geocortex\Access Control
OTHER_VARIABLE_NAME=value -
Modify the environment variables as desired.
-
To save your changes, click the Edit service button.
-
Open the Windows services.msc dialog and restart the VertiGIS Studio Access Control service.
The environment variables are only read by Access Control when the service starts.
Common Environment Variables
The following table summarizes some of the commonly used environment variables supported by Access Control. All settings are case-sensitive.
Variable Name |
Description |
---|---|
|
The backend URL of Access Control on the local server. For example: |
|
The file path of the Access Control application. For example: |
|
The file path of the Access Control data directory used to store configuration and logs. For example: |
|
The virtual path of Access Control as exposed by your web server (typically IIS). For example: |
|
The host name Access Control listens on. For example: |
|
The port Access Control listens on. For example: |
|
The URL of the backend ArcGIS Server to proxy requests to when Access Control receives a request to For example: |
|
The value to assign to the For example: |