TIP: Drupal6/7 permissions setup compatible with DSO (mod_php) 'nobody' web server mode on CentOS+WHM/cPanel under Drush maintenance

Some context

So why might you, if you are operating a cPanel-based VPS for your own Drupal sites, want to consider switching from suPHP to DSO ?

"Your Drupal site got hacked ? Well it's entirely your own fault ! You should always do your updates ! You've only got yourself to blame (and don't dare blame the security holes in that older Drupal code) !!!"

Quick install Drupal with XAMPP on Windows

This Cookbook shows, how you can install XAMPP on Windows (e.g. Win 7 or Win 8.x, 32 bit or 64 bit) to use it for Drupal as a development system.

Remarks

  • The intention of this cookbook is to explain the installation of XAMPP as a development system for Drupal.
  • Important Safety Notice:
    The instructions on this page should not be used on web servers, that can be accessed from the internet!
    The safe operation of the web server is not guaranteed with XAMPP!

Step 4: setting the hostnames

Bulk loop 1

  • In /etc/apache2/sites-enabled/drupal7 (In Mageia 2 and Mandriva Linux 2010, it is /etc/httpd/conf/vhosts.d/00_default_vhosts.conf ), add
    <VirtualHost *:80>
       DocumentRoot /var/www/drupal7
       ServerName example
    </VirtualHost>
  • In /etc/apache2/conf.d/drupal7.conf (in Mageia 2, it is the file /etc/httpd/conf/webapps.d/drupal.conf ), add the line (not needed in Mandriva Linux 2010)
    Alias example 127.0.0.1

Step 1: mono-site installation of Drupal 7

Firstly install Drupal 7 thanks to your distribution or by hand. (Ubuntu 11.04 doesn't include Drupal 7, but Mageia 3 and 4 do.) If you have to install Drupal by hand, follow the 6 steps of the Installation guide. Don't insert any dot in the name of the directory you install Drupal in. We suggest /var/www/drupal7/ and we will suppose below that such is its name. The corresponding database name cannot contain contain spaces, slashes, nor dots. I'll suppose below it is "drupal7".

Uniform Server Drupal 7 Setup

Uniform Server Drupal 7 Setup (Verbose)

An explicit guide to setting up an easy Drupal development environment utilizing the Uniform Server. “The Uniform Server is a WAMP package that allows you to run a server on any MS Windows OS based computer. It is small and mobile to download or move around and can also be used or setup as a production/live server.” http://www.uniformserver.com/

Mike Anello's (ultimike) video tutorial: http://www.youtube.com/watch?v=3SPyQ3KJLJg

In case of difficulty:
http://wiki.uniformserver.com/index.php/New_Users:_Problems_Section

The Uniform Server + Drupal 7 Installation Step-By-Step

Download the Uniform Server (version Coral 8.1.2) (Not the latest version; because Drupal needs PHP 5.3.10 and the latest is PHP 5.4.4 etc.)
http://sourceforge.net/projects/miniserver/files/Uniform%20Server/8.1.2-...

Double-click Coral_8_1_2.exe (the self-extracting file for Uniform Server, it will create a folder in the same directory called "UniServer").

Move the UniServer folder and its contents to where you want your application and new Drupal sites to reside:

(typically Users/(your name)/Sites/UniServer)
or E:/UniServer (on a RAM stick or SD card)

Making a Boost cached site mobile

Introduction

This tutorial is a description of how to setup the mobile version of a Drupal site with theme switching and automatic redirection to the mobile site that works with static page caching mechanisms (Boost module). Redirection is done on Apache's level instead of the PHP level (.htaccess instead of php code).

Pages

Subscribe with RSS Subscribe to RSS - apache