httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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..
http://wiki.apache.org/httpd/DebianDeb0rkification?action=diff&rev1=11&rev2=12

--------------------------------------------------

  </Directory>
  
  # 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
86400"
+         ErrorLog /var/log/apache/some.domain.tld/error_log
  </VirtualHost>
  }}}
  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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message