Go to the Stanford University web site
or
Log In
(To add something to the Commons.)

Drupal 6.x

Using Drush to Download from Stanford's Features Server

If you want to use drush to download from Stanford's Drupal Features server, use the following syntax:

drush dl projectname --source=http://drupalfeatures.stanford.edu/fserver/projectname/core.version

E.g., to download webauth for Drupal 7, use:

Drupal 6 to Drupal 7 Migration Worksheet

This document is a work in progress. For a formatted version of this worksheet that you can print and fill out, download the PDF.

Rationale for This Document

An upgrade of a Drupal 6 website is a complex proposition. As a general rule of thumb, many professional Drupal development teams approach a major Drupal version upgrade as a new site development project, and estimate anywhere from 60-80% of the original development resources (time, money) for the upgrade.

Drupal 6 Installation Instructions

There are two ways you can run Drupal 6.x at Stanford.

Stanford Sites

Request your Drupal 6.x site on the Stanford Sites service. This is open to everyone, including individuals. Installation is easy and code updates and maintenance are handled by IT Services. You can't install your own modules or themes, but installations come with plenty of pre-installed modules chosen by the community. Read more at sites.stanford.edu.

Drupal and Virtual Host Proxies on the WWW Servers

In fall 2011, the web infrastructure team in IT Services made some changes to how virtual host (vhost) proxies are handled. Previously, all proxies were on a dedicated pool of proxy servers (proxy1.stanford.edu, proxy2.stanford.edu, proxy3.stanford.edu). This configuration required the use of the Reverse Proxy module. The infrastructure team is in the process of moving all existing proxies onto the www servers themselves.

WMD and 8-Character SUNet IDs

(per Marco, 2.1.2012)

== Symptoms

Users with 8 character long SUNetIDs can't log into your Drupal site using WebAuth. Other users have no issue.

== Triggers

There is a bug in the WebAuth module for Drupal that's triggered under the following conditions:

* vanity URL is handled by the Reverse Proxy servers
* WMD 2.55 or 2.56 (possibly earlier ones as well)
* SUNetID of person logging in is 8 characters long

== The Cause

Boost

Overview

Boost "provides static page caching for Drupal enabling a very significant performance and scalability boost for sites that receive mostly anonymous traffic". With the move of proxies to the WWW servers (January 2012), it is possible to install and configure it in the Stanford Leland web environment.

Create a Development Drupal Environment

These instructions describe how to set up a development copy of your live Drupal site within the Stanford web environment.

Benchmarking Site Performance with ApacheBench

ApacheBench (ab) is "a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server." It is built in to most current versions of Mac OS X and Linux. It's a quick way of sending multiple requests to a website and timing how long they take.

Basic Test

At its most basic, ab can perform successive and/or concurrent load tests on a webpage. Run the following command in the Terminal (Mac OS X; if you don't have OS X, ab is installed on the corn cluster machines):

Drupal and PHP 5.3

jump to:

Breadcrumbs for Views pages

ZC: With permission from the author, Daniel Hanold, I am pasting in his documentation (below) of how to use Views Arguments to create customized breadcrumbs for Views pages. As of the time of this writing the Custom Breadcrumbs module does not seem to handle Views breadcrumbs is a thoroughly stable fashion, though it appears that it will, so this information may soon be obsolete. Nevertheless, I think the more we can do with Views and other near-core modules, and resort to contrib less, the better. It's a solid piece of documentation.