admin has written 156 articles

Working with HTTP rate-limiting

Overview All HTTP servers enforce a collection of HTTP rate-limiting to reduce abuse and achieve a high reliability. This system is built on a fork of mod_evasive, which implements an interval-based bean counter, in other words it begins counting URI requests for a given duration once the first request is received. There are two classes of…

Running Discourse

Discourse is a popular forum software written in Ruby. Because Discourse relies on Docker, which is incompatible with the platform, installation must be carried out manually. A Pro package is recommended to run Discourse as each worker is approximately 200 MB. Getting Started Installation is done within the Terminal. Checkout the Discourse repository from GitHub…

How to access WordPress admin panel

Overview WordPress administrative panel, which allows management to your WordPress site, can be accessed within Launchpad via Web > Web Apps. Select the domain where WordPress is installed. Click Detect if necessary. Click on the link under ADMIN PORTAL. If you have forgotten your login or password, click on “Change Admin Password” in Web Apps.

Sharing .htaccess rules

Overview An .htaccess file may be shared across multiple domains and subdomains by being located in a common parent directory. Locating an .htaccess under /var/www will allow any domain or subdomain located under /var/www to inherit these rules; effectively any domain or subdomain that is not managed by a secondary user within that user’s respective…

Scripting with Beacon

Beacon is a scripting companion to Launchpad (formerly called “apnscp”) that provides a simple interface to interacting with more than 1,850 commands exposed in Launchpad. If Launchpad can do it so can you, minus a pretty interface of course! Beacon comes preinstalled on all v5+ platforms and may also be downloaded from our github repo for use on…

Forwarding a web site elsewhere

Overview A forwarded website can be accomplished by first creating a subdomain or addon domain in the control panel, then using an .htaccess in document root to redirect all traffic to the new web site using mod_rewrite. Important terminology Forwarded domain: domain that will redirect to the target domain Target domain: domain that is the final destination…

Connection to mail over SSL fails

Overview IMAP, POP3, and SSL that connect over SSL either via STARTTLS on port 143/110/587 or 993/995/465 respectively fail with a certificate warning without any symptoms prior to October 25, 2016. Symptoms include the following dialog from Thunderbird: Cause With the proliferation of free SSL certificates via Let’s Encrypt, vendors have begun to tighten requirements on…

Working with Laravel config:cache

Laravel provides a static cache utility via Artisan to collapse configuration under config/ into a single file to boost performance. Configuration may be cached using: php artisan config:cache When run from terminal, the paths provided may be incorrectly referenced when the application is accessed from the web resulting in application errors. Solution Overwrite bootstrap/app.php to use a…