[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 14: Apache config snippet (cont)

Page 14

  
  Apache config snippet (cont)
  # If you wish httpd to run as a different user or group, you
  # must run httpd as root initially and it will switch.  
  User www-data
  Group www-data
  <VirtualHost www.example.com>
      ServerAdmin webmaster@host.example.com
      DocumentRoot /var/www/host.example.com
      ServerName host.example.com
      ErrorLog /var/log/apache/host.example.com-error.log
  </VirtualHost>

Copyright 2003, Bri Hatch of Onsight, Inc.

Presented at ISSA Puget Sound, 2003.

Presentation created using vim and MagicPoint.