Dear Wiki user,

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

The following page has been changed by thumbs:
http://wiki.apache.org/httpd/DebianDeb0rkification

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

  
  We removed the CustomLog directive as the one defined in the ''apache2.conf'' 
will propagate to every virtual host - effectively reducing the number of open 
file handles.
  
- We got rid of all the superfluous ''<Directory /var/www>'' and ''<Directory 
/>'' blocks - especially with it's awkward ''Options'' directives. Again, with 
the sane settings in the ''apache2.conf'' file. The user may add +Indexes if he 
wishes to display a formatted list of the directory contents in the absence of 
a index file specified with the ''DirectoryIndex'' directive.
+ We got rid of all the superfluous ''<Directory /var/www>'' and ''<Directory 
/>'' blocks - especially with it's awkward ''Options'' directives. Again, with 
the sane settings in the ''apache2.conf'' file.
  
  We defused the danger of ambiguity, by changing, and moving the 
''NameVirtualHost *:80'' directive above the ''Include'' line for the virtual 
hosts, thus enabling new administrators to simply copy and paste and edit this 
file.
  

Reply via email to