Versions Compared

Key

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

...

OptionDescription
Root Web Directory

The This value represents the full server path to the web server's document root directory (e.g. /home/user/public_html/). This is not necessarily the path to the directory Blesta is installed under.

This setting is used when the web server cannot provide the path to your Blesta installation, such as when the cron is run via CLI. This typically occurs for URLs constructed for emails that are sent by cron via CLI.

The path to the document root directory may vary depending on your web server configuration. In most cases, generally speaking, any directories in the absolute path to your Blesta installation that do not appear in the URL should be included in your Root Web Directory setting. Consider the following examples:

  1. Installing Blesta in a subdirectory named "billing".
    The URL to the admin dashboard in your browser will be: domain.com/billing/admin/
    Assuming the absolute path to your account is /home/user/, and your web directory is named /public_html/, your Root Web Directory setting will be set to: /home/user/public_html/
  2. Installing Blesta in a subdomain named "clients".
    The URL to the admin dashboard in your browser will be: clients.domain.com/admin/
    Assuming the absolute path to your account is /home/user/, and your web directory is named /public_html/, your Root Web Directory setting may be set to: /home/user/public_html/clients/
Info

The use of Virtual Directories on your web server may interfere with this value. If the cron is run via CLI, it does not use the web server, and therefore is unaware of your virtual directory aliasing, resulting in incorrect URLs in emails sent by cron. To resolve this issue, either remove the virtual directory alias to your Blesta installation, or set the cron to run via wget, which will use the web server, and thus be aware of the virtual directory alias.

Temp DirectoryThe full server path where Blesta should write temporary files. This directory must be writable by the server's web user and cron user.
Uploads DirectoryThe full server path where Blesta should write uploaded files. This directory must be writable by the server's web user and cron user.
Rotation Policy

The number of days to retain logs.

Expand
titleRead More.

Rotation Policy controls the amount of time to retain most log data, cron log being the exception as that is controlled by the Blesta.cron_log_retention_days configuration.

Options that control what logs to delete can be found in the configuration. They include:

  • Blesta.auto_delete_accountaccess_logs
  • Blesta.auto_delete_contact_logs
  • Blesta.auto_delete_email_logs
  • Blesta.auto_delete_gateway_logs
  • Blesta.auto_delete_module_logs
  • Blesta.auto_delete_transaction_logs
  • Blesta.auto_delete_user_logs

...