diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | config.h | 2 |
2 files changed, 3 insertions, 4 deletions
@@ -21,9 +21,8 @@ Vault comes with a Makefile: The vault binary will be installed as `/var/www/cgi-bin/vault`. Static resources will be installed in `/var/www/vault-static` and should be served from `/static`. You need to configure your web server accordingly, see below for a sample file. If the log file does not exist, you need to create it. Here is how to do it for a default installation: - # mkdir -p /var/www/var/log - # touch /var/www/var/log/vault.log - # chown www /var/www/var/log/vault.log + # touch /var/www/logs/vault.log + # chown www /var/www/logs/vault.log By default on OpenBSD, the `slowcgi(8)` daemon allows a timeout of 2 minutes for CGI programs. This might not be enough if you want to allow users to download large files. This timeout can be increased by changing the `slowcgi(8)` parameters in `/etc/rc.conf.local`, for example to allow up to 10 minutes : @@ -36,7 +36,7 @@ * otherwise it will quit with an error. */ #ifndef LOG_FILE -#define LOG_FILE "/var/log/vault.log" +#define LOG_FILE "/logs/vault.log" #endif /* The directory that contains the HTML template files */ |