Solutions
VM 8.6.1+: VM I-Net Web Client going through Apache HTTPD on Linux/UNIX fails to find /vminet.html when using HTTPS
ID: | S143414 | |
Published: | 01 April 2021 |
Operating System(s)
- All Unix
Product(s)
- PVCS Version Manager
Description
When the PVCS Version Manager Web Application server on Linux/UNIX is configured to use Apache HTTPD as the 3rd party web server, enabling SSL in Apache may result in the /vminet.html page only being accessible via HTTP. Accessing the same page using HTTPS results in a page not found error (HTTP Error 404).
Resolution
This may be the result of the VirtualHost block used by mod_ssl not inheriting the PVCS VM configuration changes defined in
httpd2_pvcs.conf
.The PVCS VM installer, or
configure_inet
if that was executed post installation, typically shows instructions like: Apache Web Server
-----------------
Append the following line to your Apache Web Server
configuration file at "/etc/httpd/conf/httpd.conf"
to complete the VM I-Net installation:
"IncludeOptional /usr/serena/vm/vm/inet/install/httpd2_pvcs.conf"
-----------------
Append the following line to your Apache Web Server
configuration file at "/etc/httpd/conf/httpd.conf"
to complete the VM I-Net installation:
"IncludeOptional /usr/serena/vm/vm/inet/install/httpd2_pvcs.conf"
Performing this step will make PVCS VM available for the non-SSL portion of the server (HTTP).
When SSL is enabled (by installing mod_ssl), this usually adds the file
/etc/httpd/conf.d/ssl.conf
containing a default SSL configuration. This configuration does not inherit the PVCS settings from the httpd2_pvcs.conf
include added to the main server configuration file /etc/httpd/conf/httpd.conf
.For the SSL configuration to be able to see this configuration as well, also add the
IncludeOptional
statement within the <VirtualHost>
... </VirtualHost>
block of /etc/httpd/conf.d/ssl.conf
, for example just above the closing </VirtualHost>
tag:IncludeOptional /usr/serena/vm/vm/inet/install/httpd2_pvcs.conf
</VirtualHost>
</VirtualHost>
Be sure to use the same directive added to
/etc/httpd/conf/httpd.conf
.