[support] Need help configuring Drupal site within static site
Zembower, Kevin
kzembowe at jhuccp.org
Tue May 20 13:43:04 UTC 2008
I'm trying to create a series of Drupal sites inside an intranet site
for my organization which uses mainly static pages. I have this section
in my apache2 config file:
#Created 19-May-2008 by EKZ for the Drupal 6.2 Communities of
Practices sites (except KM)
Alias /cops /var/www/drupal-6.2
<Directory /var/www/drupal-6.2>
Options +Includes +Indexes +FollowSymLinks
AllowOverride all
</Directory>
This works fine for the site at http://example.com/cops; I've visited
this site and built the databases. It seems to work normally. Now,
however, I'd like to create sites like http://example.com/cops/test2. I
have this directory structure:
centernet:/var/www/centernet/logs# cd /var/www/drupal-6.2/sites/
centernet:/var/www/drupal-6.2/sites# find . -type d
.
./all
./default
./centernet.jhuccp.org.cops
./centernet.jhuccp.org.cops/files
./centernet.jhuccp.org.cops.test1
./centernet.jhuccp.org.cops.test1/themes
./centernet.jhuccp.org.cops.test1/modules
./centernet.jhuccp.org.cops.test2
./centernet.jhuccp.org.cops.test2/modules
./centernet.jhuccp.org.cops.test2/themes
centernet:/var/www/drupal-6.2/sites# ls -l
centernet.jhuccp.org.cops.test2/settings.php
-rw-r--r-- 1 kevinz webadmin 8945 May 19 12:26
centernet.jhuccp.org.cops.test2/settings.php
centernet:/var/www/drupal-6.2/sites# diff
centernet.jhuccp.org.cops.test2/settings.php
default/default.settings.php
centernet:/var/www/drupal-6.2/sites#
However, when I try to visit http://example.com/cops/test2, I get the
test from the static main web page of http://example.com, and broken
links to all the images. In addition, I get these errors in the error
log:
[Tue May 20 09:31:24 2008] [error] [client 10.253.200.146] File does not
exist: /var/www/drupal-6.2/test2
[Tue May 20 09:31:24 2008] [error] [client 10.253.200.146] File does not
exist: /var/www/drupal-6.2/images, referer: http://centerne
t.jhuccp.org/cops/test2
Can anyone help me understand what I've done wrong, and what to do to
fix it? Thanks very much for your help and advice.
-Kevin
Kevin Zembower
Internet Services Group manager
Center for Communication Programs
Bloomberg School of Public Health
Johns Hopkins University
111 Market Place, Suite 310
Baltimore, Maryland 21202
410-659-6139
More information about the support
mailing list