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:
- 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).
- Edit the following section:
- Change AllowOverride None to AllowOverride All. Install Drupal using the documentation at drupal.org.
Options All +MultiViews -ExecCGI -Indexes
AllowOverride None
Change Drupal file permissions
Follow these steps to finalize the necessary file permissions after installing Drupal:
- Open a terminal session and enter the following commands from your home directory (be sure to modify the path statements for your specific server):
- sudo chmod -R 755 /Library/Server/Data/Sites/Default/drupal/sites/default.
- sudo chmod 444 /Library/Server/Data/Sites/Default/drupal/sites/default/settings.php.
- sudo chmod -R 777 /Library/Server/Data/Sites/Default/drupal/sites/default/files.
