Hello list, Here is one of my vhost conf files:
[bro...@cowboy] [0] [1] ~/ $ cat /etc/apache2/sites-available/aidsorphanage.org <VirtualHost *:80> ServerAdmin bro...@techsol.ca 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> [bro...@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-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org