...
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 | ||
---|---|---|
| ||
The CakePHP framework may write error and debugging logs to the |
Note |
---|
For versions prior to v1.0.0, update |
Integrate Web Server Authentication
...