Setting CGI configuration options
If you are installing the Perforce ALM CGIs, you must select a location to install the CGI scripts and HTML files and set the Perforce ALM Server address and port number. When web client users log in, or an external source control provider attaches files to items in a project, the web server calls the appropriate CGI, which communicates with the server.
On this page:
Web server types
Microsoft IIS and Apache web servers are supported. See Supported Web Servers for supported versions.
Default HTML file installation directories
Select the directory to install the HTML files used by ALM web clients.
If you are upgrading, you may be prompted to overwrite existing HTML files during installation. You should always overwrite these files to ensure that ALM works correctly after the upgrade is complete.
| Web server | Platform | Default HTML files directory |
|---|---|---|
| IIS | Windows | C:\inetpub\wwwroot |
| Apache | Windows | C:\Program Files\Apache Software Foundation\Apache <version>\htdocs |
| Linux | /var/www/html |
Perforce ALM Server address and port
Enter a static IP address or domain name and port number of the Perforce ALM Server computer. The ALM CGIs use this information to communicate with the server. You are only prompted to enter this information the first time you install ALM.
| Platform | Default server port |
|---|---|
| Windows | 99 |
| Linux | 1566 |
Default CGI installation directories
Select the directory to install the CGI scripts. The web server must have access to this directory.
| Web server | Platform | Default logical CGI directory name | Default CGI scripts directory |
|---|---|---|---|
| IIS | Windows | scripts | C:\inetpub\scripts |
| Apache | Windows | cgi-bin | C:\Program Files\Apache Software Foundation\Apache <version>\cgi-bin |
| Linux | cgi-bin | /var/www/cgi-bin |
If you are installing the Perforce ALM License Server Web Admin Utility, you must set a location to install the CGI scripts and HTML files. See Setting license server configuration options.
Linux installation notes
- Specific system libraries are required to run ALM applications on different Linux distributions. You must install these libraries before using the applications to make sure they work correctly. See Checking for Missing System Libraries on Linux for information.
- If CGIs are installed on Linux distributions with SELinux security policies, you must enable network requests from CGI executables before you can use ALM web clients. See CGIs on Linux Cannot Connect to the Perforce ALM License Server and Perforce ALM Server for information.