On Tue, Oct 6, 2009 at 11:37 AM, Brolin Empey <brolin@xxxxxxxxx> wrote: > Hello list, > > Here is one of my vhost conf files: > > [brolin@cowboy] [0] [1] ~/ > $ cat /etc/apache2/sites-available/aidsorphanage.org > <VirtualHost *:80> > ServerAdmin brolin@xxxxxxxxxx > ServerName aidsorphanage.org > ServerAlias www.aidsorphanage.org aidsorphonage.org > www.aidsorphonage.org > > DocumentRoot /var/www/aidsorphanage.org/ > > # FIXME: How can I avoid duplicating ${DOCUMENT_ROOT}? > # - brolin, 2009-09-15 > <Directory "/var/www/aidsorphanage.org/logs/"> > Order Deny,Allow > Deny from All > </Directory> > > <Directory /> > Options FollowSymLinks > AllowOverride All > </Directory> > > ErrorLog /var/www/aidsorphanage.org/logs/error.log > > # Possible values include: debug, info, notice, warn, error, crit, > # alert, emerg. > LogLevel warn > > CustomLog /var/www/aidsorphanage.org/logs/access.log combined > </VirtualHost> > [brolin@cowboy] [0] [2] ~/ > > How can I avoid duplicating the document root after it is declared > with the DocumentRoot directive? In this example, the document root > is duplicated thrice. Duplication is bad. > > I am using apache2 version 2.2.11-2ubuntu2.3. > > Thanks, > Brolin > > -- > Sometimes I forget how to do small talk: <http://xkcd.com/222/> > > “If you have to ask why, you’re not a member of the intended > audience.” — Bob Zimbinski, <http://webpages.mr.net/bobz/ttyquake/> > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > Am I missing something? I only see the DocumentRoot declared once in your example --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx