abernal's blog

How to enforce www

In order to enforce a given site to be served through a domain with www, follow this procedure

1. Create a .htaccess file at the base of the drupal installation directory
2. Set the following code

  RewriteCond %{HTTP_HOST} .
  RewriteCond %{HTTP_HOST} !^www\. [NC]
  RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Chapter 20. Processes

Introduction

A process is the embodiment of a running application which may or may not consist of multiple threads. Processes have both attributes and well-delineated permissions. They must be in one of a number of enumerated states, the most common of which are running or sleeping. It is important to know when a process is running in user mode with limited privilege, or in kernel mode with enhanced priviledges, including more direct access to hardware. There are a number of different ways to create child processes and to set and modify their priorities.

Pages

Subscribe to RSS - abernal's blog