Versions Compared

Key

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

...

You should verify that the web server will not deliver unprocessed files, especially configuration files such as the database configuration file (ie: https://some-vo.org/registry/app/config/database.php). By default, these files will not be delivered.

...

Create /tmp Directory

As of v1.0.0, app/tmp is a symlink to local/tmp. You'll most ll most likely want to move the registry-source/app/tmp directorymake that a symlink to another location, since it is bad practice to have writable directories on the file system delivering web content. A reasonable alternative would be /var/cache/registry. The easiest way to do this on a Unix-like system is to create a symlink to the new directory.

Code Block
$ cd registry-source/app
$ sudo cpmkdir -r tmp /var/cache/registry
$ sudo chown -R $HTTPUSER /var/cache/registry
$ sudo chmod 700 /var/cache/registry
$ mv tmp tmp.not cd registry-source/local
$ rmdir tmp
$ ln -s /var/cache/registry tmp
Note
titleLog Files May Be Written To The Cache Directory

The CakePHP framework may write error and debugging logs to the logs directory under the tmp directory. You may wish to monitor and/or rotate these files.

Note

For versions prior to v1.0.0, update app/tmp to point directly to your tmp directory.

Integrate Web Server Authentication

...