Category:Technology -> Adventures with the naked Mac Mini Server -> Drupal-Lion | ARTS & FARCES internet wiki

Category:Technology -> Adventures with the naked Mac Mini Server -> Drupal-Lion

Category:Technology -> Adventures with the naked Mac Mini Server -> Configure Drupal on Lion

Install and configure Drupal

Use these steps to configure Apache to support clean URLs in Drupal:

  1. In your text editor of choice, edit the /etc/apache2/sites/0000_any_80_.conf file (not the httpd.conf file you’re probably used to working with).
  2. Edit the following section:
  3.   Options All +MultiViews -ExecCGI -Indexes   AllowOverride None  
  4. Change AllowOverride None to AllowOverride All.
  5. Install Drupal using the documentation at drupal.org.

Change Drupal file permissions

Follow these steps to finalize the necessary file permissions after installing Drupal:

  1. Open a terminal session and enter the following commands from your home directory (be sure to modify the path statements for your specific server):
  2. sudo chmod -R 755 /Library/Server/Data/Sites/Default/drupal/sites/default.
  3. sudo chmod 444 /Library/Server/Data/Sites/Default/drupal/sites/default/settings.php.
  4. sudo chmod -R 777 /Library/Server/Data/Sites/Default/drupal/sites/default/files.

Categories:

Copyright © 1993–2012 ARTS & FARCES LLC. All rights reserved.