httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Httpd Wiki] Update of "DebianDeb0rkification" by jmcg
Date Fri, 17 Dec 2010 22:58:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "DebianDeb0rkification" page has been changed by jmcg.
The comment on this change is: Simplifying..


  # Assuming /var/www/ is the root of all of your vhosts, set sane defaults for it:
- <Directory /var/www>
+ <Directory /var/www/*/htdocs>
      Options +MultiViews
  # The user may add +Indexes if he wishes to display a formatted list of the directory contents
in the absence of index files as specified with the ''DirectoryIndex'' directive. 
      Allow from All
@@ -167, +167 @@

  Note the subtle difference here: ''NameVirtualHost *'' is ambiguous. It covers all interfaces
and all ports, potentially breaking future additions of SSL-aware sites.
- Also Note that in newer versions of Ubuntu/Debian NameVirtualHost *(:80?) might already
be moved in ''ports.conf''.
+ Also Note that in newer versions of Ubuntu/Debian ''NameVirtualHost *:80'' has been moved
to ''prots.conf'' .
  <VirtualHost *:80>
          ServerName some.domain.tld
          DocumentRoot /var/www/some.domain.tld/htdocs
-         ErrorLog "|/usr/bin/rotatelogs /var/log/apache/some.domain.tld/error_log.%Y%m%d
+         ErrorLog /var/log/apache/some.domain.tld/error_log
  Again, note the difference with the new ''VirtualHost *:80'' directive, to match the ''NameVirtualHost
*:80'' directive set in the ''apache2.conf'' file earlier.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message