4

how apache and drupal connect (questions and observations from a newb)

http://drupal.org

Im trying to understand how apache and drupal work together. Im using Apache2 and Drupal 5. (6 would not install due to a mySQL bug in ubuntu. Unless theres major differences between Drupal 5 and 6, its ok)

Earlier this week I figured out how to install and setup apache locally for multiple sites. The key there was making files in /etc/apache2/sites-available
and then doing a sudo a2ensite [my site]. This worked fine and allowed me to 'host' multiple sites on my local computer having only 1 copy of apache.

Then I installed Drupal. :-)

No longer do my numerous locally hosted sites work. (error 404) :( So I begin digging into Drupal, trying to understand how it all fits together with apache. Heres what I found, and what I think it means.

In etc/apache2/conf.d/drupal.conf, there is an Alias command (?) and a Directory tag. These seem to override virtual.conf (in the same directory). Reason I think so : virtual hosting is broken and drupal works.

read more

Read »
Created by fourkitchens 2 years 4 weeks ago
Category: Tutorials   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for how apache and drupal connect (questions and observations from a newb)

Recent comments