21 articles Web Content

Information all about how pages are served and how page content is negotiated.

Static files served without recording hit to access_log

Overview Static files (index.html) can be served without logging a request in access_log. Cause This occurs when mod_pagespeed is enabled. Pagespeed intercepts the request higher in Apache’s processing axis before mod_log_config and serves the static file from its optimized cache if present. This does not affect files which have a Pragma: no-cache header such as…

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…

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…

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…

HTTP2 support

Overview HTTP2 is a next-generation binary protocol that supports multiplexing HTTP requests to greatly decrease page load times. Your site loads up to 2x faster, and it’s supported by every modern browser. Activating HTTP2 HTTP2 support requires a SSL certificate (and IP address) to activate. HTTP2 is available on all v6.5+ and newer platforms. No further…

PageSpeed support

Overview PageSpeed (mod_pagespeed) optimizes your site and makes content load more quickly. PageSpeed applies a variety of filters including minifying scripts, inlining CSS, and automatically deferring JavaScript to avoid blocking DOM rendering. Users can browse your site with less latency, and in turn, improve visitor engagement. Availability PageSpeed is available on all v5+ platforms. PageSpeed is enabled by…