Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The web server should be configured to deliver content over HTTPS (via TLS/SSL).

In some instances Registry PHP code will inspect the PHP $_SERVER array to construct self-referential URLs. It is recommended that the Apache configuration directives UseCanonicalName and UseCanonicalPhysicalPort be set to On and that ServerName be properly configured with both hostname and port.

Make sure the server is capable of rendering PHP. On Linux systems most often the installation of PHP enables the php5_module but you should confirm it has been enabled. The configuration of Apache to use the module and parse .php files as PHP is also often done when PHP is installed but you should confirm that your Apache configuration contains lines similar to these:

...

Note

After PHP 5.6, the 5.x numbering has been dropped. Later versions are named (eg) php7_module, modules/libphp7.so, mod_php7, etc.

 

You may wish to restrict the configuration for parsing of .php files to the COmanage Registry directory by embedding the <FilesMatch> element inside of an appropriate <Directory> element. See the Apache httpd documentation.

...

Make sure that the mod_rewrite Apache module is installed and enabled.

It may also be desirable to disable autoindexes if that module is installed:

Code Block
<IfModule mod_autoindex.c>
  Options -Indexes
</IfModule>


Overriding the Base URL

Under certain circumstances, such as deployments behind a web proxy, it may be necessary to specify the base URL since the application will be unable to introspect it correctly. As of Registry v4.1.0, this can be set via the environment variable COMANAGE_REGISTRY_FULL_BASE_URL.

Next: Registry Installation - Source